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

From: Stephen Rothwell <[email-masked]>
Date: Tue, 21 Jul 2020 13:39:26 +1000

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")

-- 
Cheers,
Stephen Rothwell