diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-11 21:20:29 -0700 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-10-22 10:57:34 -0700 |
commit | 2491c5c8c99dfcf2519ca73798be60f874a2b16e (patch) | |
tree | e29b7ba41d566f29cee3ceaffba98983f92a5ddf /drivers/leds | |
parent | 31d141e3a666269a3b6fcccddb0351caf7454240 (diff) |
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 a502678cc7f..66d0a57db22 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; } |