From: Thierry Reding Date: Tue, 22 Oct 2013 07:37:05 +0000 (+0200) Subject: pwm-backlight: Remove unused variable X-Git-Tag: v3.13-rc1~58^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73d4e2b82b4bb1571b1a7f97012c0db8a0faef42;p=thirdparty%2Fkernel%2Flinux.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 299533491a95f..368232af78d29 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;