From: Thierry Reding Date: Tue, 22 Oct 2013 07:37:05 +0000 (+0200) Subject: pwm-backlight: Remove unused variable X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=73d4e2b82b4bb1571b1a7f97012c0db8a0faef42;p=linux-beck.git pwm-backlight: Remove unused variable I forgot to remove this during earlier cleanup patches and only checked various builds for errors, not warnings. Reported-by: kbuild test robot Signed-off-by: Thierry Reding --- diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index 299533491a95..368232af78d2 100644 --- a/drivers/video/backlight/pwm_bl.c +++ b/drivers/video/backlight/pwm_bl.c @@ -45,7 +45,7 @@ struct pwm_bl_data { static void pwm_backlight_power_on(struct pwm_bl_data *pb, int brightness) { - int duty_cycle, err; + int err; if (pb->enabled) return;