summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-rb532.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/leds-rb532.c')
-rw-r--r--drivers/leds/leds-rb532.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/leds/leds-rb532.c b/drivers/leds/leds-rb532.c
index db5af83f0cec..b6447c1721b4 100644
--- a/drivers/leds/leds-rb532.c
+++ b/drivers/leds/leds-rb532.c
@@ -21,7 +21,6 @@ static void rb532_led_set(struct led_classdev *cdev,
{
if (brightness)
set_latch_u5(LO_ULED, 0);
-
else
set_latch_u5(0, LO_ULED);
}