projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cae93db
)
extcon: max8997: Remove unreachable code
author
Sachin Kamat
<sachin.kamat@linaro.org>
Thu, 31 Jan 2013 00:30:00 +0000
(09:30 +0900)
committer
Chanwoo Choi
<cw00.choi@samsung.com>
Wed, 13 Feb 2013 22:52:47 +0000
(07:52 +0900)
'break' after 'return' is never executed and hence can be deleted.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
drivers/extcon/extcon-max8997.c
patch
|
blob
|
history
diff --git
a/drivers/extcon/extcon-max8997.c
b/drivers/extcon/extcon-max8997.c
index
7039541
..
d16090d
100644
(file)
--- a/
drivers/extcon/extcon-max8997.c
+++ b/
drivers/extcon/extcon-max8997.c
@@
-289,7
+289,6
@@
static int max8997_muic_handle_charger_type_detach(
break;
default:
return -EINVAL;
- break;
}
return 0;