]> 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>
Wed, 20 Mar 2013 04:07:37 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:33:59 +0000 (16:33 +1100)
commitc98ce8ff04dda9753d04be2a1d6b97bda4bd70f8
treeb2a8f4854cf1886e4639ee3d41b642b5e335543a
parent814351370ad76e9408c64ede0ac392962faba561
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