diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/input/keyboard/applespi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/keyboard/applespi.c b/drivers/input/keyboard/applespi.c index c1a68438245a..548737e7aeda 100644 --- a/drivers/input/keyboard/applespi.c +++ b/drivers/input/keyboard/applespi.c @@ -899,7 +899,6 @@ static void applespi_set_bl_level(struct led_classdev *led_cdev, struct applespi_data *applespi = container_of(led_cdev, struct applespi_data, backlight_info); unsigned long flags; - int sts; spin_lock_irqsave(&applespi->cmd_msg_lock, flags); @@ -916,7 +915,7 @@ static void applespi_set_bl_level(struct led_classdev *led_cdev, KBD_BL_LEVEL_MIN); } - sts = applespi_send_cmd_msg(applespi); + applespi_send_cmd_msg(applespi); spin_unlock_irqrestore(&applespi->cmd_msg_lock, flags); } |