Home
last modified time | relevance | path

Searched hist:"6 baacf9391c03f91a7644b3f94634b7d4b2c5e34" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/cpuidle/
H A Dcpuidle.cdiff 6baacf9391c03f91a7644b3f94634b7d4b2c5e34 Wed Aug 21 13:42:50 CEST 2024 Dhruva Gole <d-gole@ti.com> cpuidle: remove dead code from cpuidle_enter_state()

Checking for index < 0 is useless because the find_deepest_state()
function never really returns a negative value.

Since this hasn't been reported in over 9 years it's dead code, so
remove it.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
Link: https://patch.msgid.link/20240821114250.1416421-1-d-gole@ti.com
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>