]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: remove dead code
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Fri, 3 Mar 2023 12:02:32 +0000 (17:02 +0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 7 Mar 2023 19:21:56 +0000 (14:21 -0500)
commit4d2c09d68de2acec46fb471f5a358627c9dc3885
tree709f00b388db941a8c85a0305701e1344df639b5
parent7bb3956178e5eaeeab5134cf38e0f057bc2344c2
drm/amdgpu: remove dead code

The less than zero comparison of unsigned variable "value" is never
true. Remove dead code.

Fixes: c3ed0e72c872 ("drm/amdgpu: added a sysfs interface for thermal throttling")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_pm.c