From: 黄涛 Date: Tue, 25 Feb 2014 09:08:52 +0000 (+0800) Subject: pwm-backlight: Remove unused variable X-Git-Tag: firefly_0821_release~6276 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a399795c667a40e6d2ae42d988a82225d3e38924;p=firefly-linux-kernel-4.4.55.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 3969bab1c32b..40b130fe1c6e 100644 --- a/drivers/video/backlight/pwm_bl.c +++ b/drivers/video/backlight/pwm_bl.c @@ -43,8 +43,6 @@ struct pwm_bl_data { static void pwm_backlight_power_on(struct pwm_bl_data *pb, int brightness) { - int duty_cycle, err; - if (pb->enabled) return;