summaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-12 06:20:29 +0200
committerBryan Wu <cooloney@gmail.com>2013-10-22 19:57:34 +0200
commit2491c5c8c99dfcf2519ca73798be60f874a2b16e (patch)
treee29b7ba41d566f29cee3ceaffba98983f92a5ddf /drivers/leds
parentLinux 3.12-rc6 (diff)
downloadlinux-2491c5c8c99dfcf2519ca73798be60f874a2b16e.tar.xz
linux-2491c5c8c99dfcf2519ca73798be60f874a2b16e.zip
leds: blinkm: Remove redundant break
'break' after return is redundant. Remove it. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Jan-Simon Möller <dl9pf@gmx.de> Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-blinkm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/leds/leds-blinkm.c b/drivers/leds/leds-blinkm.c
index a502678cc7f5..66d0a57db221 100644
--- a/drivers/leds/leds-blinkm.c
+++ b/drivers/leds/leds-blinkm.c
@@ -161,13 +161,10 @@ static ssize_t show_color_common(struct device *dev, char *buf, int color)
switch (color) {
case RED:
return scnprintf(buf, PAGE_SIZE, "%02X\n", data->red);
- break;
case GREEN:
return scnprintf(buf, PAGE_SIZE, "%02X\n", data->green);
- break;
case BLUE:
return scnprintf(buf, PAGE_SIZE, "%02X\n", data->blue);
- break;
default:
return -EINVAL;
}