]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/video/backlight/lp855x_bl.c: fix compiler warning in lp855x_probe
authorDevendra Naga <devendra.aaru@gmail.com>
Tue, 26 Mar 2013 23:24:55 +0000 (10:24 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:23 +0000 (17:12 +1100)
commitfddb2c62865cacb1fe36ee35244d2a89bc86a887
tree8b00b4804d7e60eee474c44bbfe6ad1db93621f5
parent43d6383487e065643df425f184178c4982cc02f3
drivers/video/backlight/lp855x_bl.c: fix compiler warning in lp855x_probe

while doing with make W=1 gcc (gcc (GCC) 4.7.2 20121109 (Red Hat 4.7.2-8))

found

drivers/video/backlight/lp855x_bl.c: In function `lp855x_probe':
drivers/video/backlight/lp855x_bl.c:342:35: warning: variable `mode' set but not used [-Wunused-but-set-variable]

fixed by removing it as since its not used anywhere

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Acked-by: Milo Kim <milo.kim@ti.com>
Cc: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/video/backlight/lp855x_bl.c