pwm-backlight: Remove unused variable
author黄涛 <huangtao@rock-chips.com>
Tue, 25 Feb 2014 09:08:52 +0000 (17:08 +0800)
committer黄涛 <huangtao@rock-chips.com>
Tue, 25 Feb 2014 09:08:52 +0000 (17:08 +0800)
I forgot to remove this during earlier cleanup patches and only checked
various builds for errors, not warnings.

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/video/backlight/pwm_bl.c

index 3969bab1c32bc43a966fb07d7aa17b88ff13f466..40b130fe1c6e0db0768df95c26d2e6e6bdf0cb17 100644 (file)
@@ -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;