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>
This commit is contained in:
@@ -45,7 +45,7 @@ struct pwm_bl_data {
|
|||||||
|
|
||||||
static void pwm_backlight_power_on(struct pwm_bl_data *pb, int brightness)
|
static void pwm_backlight_power_on(struct pwm_bl_data *pb, int brightness)
|
||||||
{
|
{
|
||||||
int duty_cycle, err;
|
int err;
|
||||||
|
|
||||||
if (pb->enabled)
|
if (pb->enabled)
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user