diff options
author | Lee Jones <lee.jones@linaro.org> | 2020-07-21 08:34:57 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2020-07-21 15:45:45 +0100 |
commit | 7eb99a39ef767644bbfd2b3f12f139d13e3ee8b3 (patch) | |
tree | bb67e67ec4e3a162d2fe95ef33c1ab9574004723 /drivers/memory/mtk-smi.c | |
parent | b6539a11e807c531e51ff7ad9a25c3a1b6ff7340 (diff) |
video: backlight: cr_bllcd: Remove unused variable 'intensity'
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: Jingoo Han <jingoohan1@gmail.com>
Cc: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Cc: dri-devel@lists.freedesktop.org
Cc: linux-fbdev@vger.kernel.org
Fixes: 24d34617c24f ("backlight: cr_bllcd: Introduce gpio-backlight semantics")
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/memory/mtk-smi.c')
0 files changed, 0 insertions, 0 deletions