summaryrefslogtreecommitdiffstats
path: root/drivers/video/backlight/pwm_bl.c
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/pwm_bl.c
parent1dea1fd09246ada581a99d0669108eea94b7bfee (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>
Diffstat (limited to 'drivers/video/backlight/pwm_bl.c')
-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 299533491a9..368232af78d 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;