diff options
author | Thierry Reding <thierry.reding@gmail.com> | 2013-10-22 09:37:05 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2018-03-28 18:40:07 +0200 |
commit | 3ec7de5ab39db770ca65a30b0a3f7fdc789e7780 (patch) | |
tree | 695e1de14d78068a3f5b2ccacf50f8f2fa9192c5 /drivers | |
parent | c610794bd5f3b90231deb7daab8095821c6bee92 (diff) |
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 <fengguang.wu@intel.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
(cherry picked from commit 73d4e2b82b4bb1571b1a7f97012c0db8a0faef42)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/backlight/pwm_bl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/backlight/pwm_bl.c b/drivers/video/backlight/pwm_bl.c index 1812760201db..fb80d68f4d33 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; |