projects
/
deliverable
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4876b66
)
backlight: jornada720: Remove 'else' after a return
author
Jingoo Han
<jg1.han@samsung.com>
Wed, 27 Aug 2014 01:14:25 +0000
(10:14 +0900)
committer
Lee Jones
<lee.jones@linaro.org>
Fri, 29 Aug 2014 07:26:32 +0000
(08:26 +0100)
Fixed the following checkpatch warning.
WARNING: else is not generally useful after a break or return
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/video/backlight/jornada720_bl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/backlight/jornada720_bl.c
b/drivers/video/backlight/jornada720_bl.c
index 6ce96b4a879696bc04457b329f2f39e16bb5e7ed..7e6ff53468924bcb246a81ad018dcbb397e54ea4 100644
(file)
--- a/
drivers/video/backlight/jornada720_bl.c
+++ b/
drivers/video/backlight/jornada720_bl.c
@@
-41,11
+41,11
@@
static int jornada_bl_get_brightness(struct backlight_device *bd)
dev_err(&bd->dev, "get brightness timeout\n");
jornada_ssp_end();
return -ETIMEDOUT;
- } else {
- /* exchange txdummy for value */
- ret = jornada_ssp_byte(TXDUMMY);
}
+ /* exchange txdummy for value */
+ ret = jornada_ssp_byte(TXDUMMY);
+
jornada_ssp_end();
return BL_MAX_BRIGHT - ret;
This page took
0.025491 seconds
and
5
git commands to generate.