diff options
| author | Dhruva Gole <d-gole@ti.com> | 2024-08-21 17:12:50 +0530 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-08-22 21:03:52 +0200 |
| commit | 6baacf9391c03f91a7644b3f94634b7d4b2c5e34 (patch) | |
| tree | 8fee2bab631559b36c02fdb8aaf405f4fcf81ed9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | cpuidle: riscv-sbi: Simplify with scoped for each OF child loop (diff) | |
| download | linux-6baacf9391c03f91a7644b3f94634b7d4b2c5e34.tar.gz linux-6baacf9391c03f91a7644b3f94634b7d4b2c5e34.zip | |
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/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
