diff options
author | Dhruva Gole <d-gole@ti.com> | 2024-08-21 14:42:50 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-08-22 22:03:52 +0300 |
commit | 6baacf9391c03f91a7644b3f94634b7d4b2c5e34 (patch) | |
tree | 8fee2bab631559b36c02fdb8aaf405f4fcf81ed9 /drivers/opp | |
parent | d5c667e049ee75e82f3233eda0d44e39e8d492cf (diff) | |
download | linux-6baacf9391c03f91a7644b3f94634b7d4b2c5e34.tar.xz |
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>
Diffstat (limited to 'drivers/opp')
0 files changed, 0 insertions, 0 deletions