Skip to contentSkip to conversation

linux-next: build warning after merge of the backlight tree

DISCUSSION Stephen Rothwell 1 participant 1 message Jul 21, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the backlight tree, today's linux-next build (x86_64 allmodconfig) produced this 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;
      |      ^~~~~~~~~

Introduced by commit

24d34617c24f ("backlight: cr_bllcd: Introduce gpio-backlight semantics")

Signature · 2 lines
Cheers,
Stephen Rothwell