Commit 73d4e2b8 authored by Thierry Reding's avatar Thierry Reding

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: default avatarkbuild test robot <fengguang.wu@intel.com>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 1dea1fd0
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment