diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-12 06:20:29 +0200 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-10-22 19:57:34 +0200 |
commit | 2491c5c8c99dfcf2519ca73798be60f874a2b16e (patch) | |
tree | e29b7ba41d566f29cee3ceaffba98983f92a5ddf /drivers/leds | |
parent | Linux 3.12-rc6 (diff) | |
download | linux-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.c | 3 |
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; } |