Re: [PATCH] drm/amdgpu: remove dead code

2023-03-03 Thread Alex Deucher
Applied. Thanks! Alex On Fri, Mar 3, 2023 at 7:03 AM Muhammad Usama Anjum wrote: > > 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

[PATCH] drm/amdgpu: remove dead code

2023-03-03 Thread Muhammad Usama Anjum
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 --- drivers/gpu/drm/amd/pm/amdgpu_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 del

Re: [PATCH] drm/amdgpu: remove dead code in si_dpm.c

2020-04-13 Thread Alex Deucher
Applied. Thanks! On Mon, Apr 13, 2020 at 10:06 AM Jason Yan wrote: > > This code is dead, let's remove it. > > Reported-by: Hulk Robot > Signed-off-by: Jason Yan > --- > drivers/gpu/drm/amd/amdgpu/si_dpm.c | 20 > 1 file changed, 20 deletions(-) > > diff --git a/drivers/g

[PATCH] drm/amdgpu: remove dead code in si_dpm.c

2020-04-13 Thread Jason Yan
This code is dead, let's remove it. Reported-by: Hulk Robot Signed-off-by: Jason Yan --- drivers/gpu/drm/amd/amdgpu/si_dpm.c | 20 1 file changed, 20 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/si_dpm.c b/drivers/gpu/drm/amd/amdgpu/si_dpm.c index 0860e85a2d35..c0