diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-31 09:30:00 +0900 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-02-14 07:52:47 +0900 |
commit | 6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2 (patch) | |
tree | 8adc1bbcfcd37862c3d682db037761f30adef260 /drivers/extcon | |
parent | cae93db3111a524c234397fc53b6a2fc51099528 (diff) |
extcon: max8997: Remove unreachable code
'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>
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-max8997.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-max8997.c b/drivers/extcon/extcon-max8997.c index 7039541e837..d16090ddd65 100644 --- 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; |