Re: [PATCH] drm/amd/display: remove variable backlight

2021-08-10 Thread Alex Deucher
On Mon, Aug 9, 2021 at 9:24 PM zhaoxiao wrote: > > The variable backlight is being initialized with a value that > is never read, it is being re-assigned immediately afterwards. I don't think this comment really matches the code. I think you can drop it. Alex > Clean up the code by removing

[PATCH] drm/amd/display: remove variable backlight

2021-08-09 Thread zhaoxiao
The variable backlight is being initialized with a value that is never read, it is being re-assigned immediately afterwards. Clean up the code by removing the need for variable backlight. Signed-off-by: zhaoxiao --- drivers/gpu/drm/amd/display/dc/dce/dce_abm.c | 6 ++ 1 file changed, 2