diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-12 00:20:29 -0400 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-10-22 13:57:34 -0400 |
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 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) | |||
161 | switch (color) { | 161 | switch (color) { |
162 | case RED: | 162 | case RED: |
163 | return scnprintf(buf, PAGE_SIZE, "%02X\n", data->red); | 163 | return scnprintf(buf, PAGE_SIZE, "%02X\n", data->red); |
164 | break; | ||
165 | case GREEN: | 164 | case GREEN: |
166 | return scnprintf(buf, PAGE_SIZE, "%02X\n", data->green); | 165 | return scnprintf(buf, PAGE_SIZE, "%02X\n", data->green); |
167 | break; | ||
168 | case BLUE: | 166 | case BLUE: |
169 | return scnprintf(buf, PAGE_SIZE, "%02X\n", data->blue); | 167 | return scnprintf(buf, PAGE_SIZE, "%02X\n", data->blue); |
170 | break; | ||
171 | default: | 168 | default: |
172 | return -EINVAL; | 169 | return -EINVAL; |
173 | } | 170 | } |