summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@gmail.com>2013-10-22 09:37:05 +0200
committerThierry Reding <thierry.reding@gmail.com>2013-10-22 09:37:05 +0200
commit73d4e2b82b4bb1571b1a7f97012c0db8a0faef42 (patch)
tree6a275b70c5d7d34b6d706ea04eabaea8bd98a333 /drivers/video/backlight
parentpwm_backlight: avoid short blank screen while doing hibernation (diff)
downloadlinux-73d4e2b82b4bb1571b1a7f97012c0db8a0faef42.tar.xz
linux-73d4e2b82b4bb1571b1a7f97012c0db8a0faef42.zip
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>
Diffstat (limited to 'drivers/video/backlight')
-rw-r--r--drivers/video/backlight/pwm_bl.c2
1 files changed, 1 insertions, 1 deletions
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;