Re: [PATCH 1/1] video: backlight: cr_bllcd: Remove unused variable 'intensity'
From: Daniel Thompson <hidden>
Date: 2020-07-21 13:52:39
Also in:
dri-devel, linux-arm-kernel, lkml
From: Daniel Thompson <hidden>
Date: 2020-07-21 13:52:39
Also in:
dri-devel, linux-arm-kernel, lkml
On Tue, Jul 21, 2020 at 08:39:19AM +0100, Lee Jones wrote:
Fixes the following kernel build warning:
drivers/video/backlight/cr_bllcd.c: In function ‘cr_backlight_set_intensity’:
drivers/video/backlight/cr_bllcd.c:62:6: warning: unused variable ‘intensity’ [-Wunused-variable]
62 | int intensity = bd->props.brightness;
| ^~~~~~~~~
Cc: Sam Ravnborg <redacted>
Cc: Daniel Thompson <redacted>
Cc: Jingoo Han <jingoohan1@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <redacted>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-fbdev@vger.kernel.org
Fixes: 24d34617c24f ("backlight: cr_bllcd: Introduce gpio-backlight semantics")
Signed-off-by: Lee Jones <redacted>I doubt you are awaiting this for a one line fixup... but just in case: Reviewed-by: Daniel Thompson <redacted> Daniel.