diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-01-30 19:30:00 -0500 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2013-02-13 17:52:47 -0500 |
commit | 6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2 (patch) | |
tree | 8adc1bbcfcd37862c3d682db037761f30adef260 /drivers/extcon/extcon-max8997.c | |
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/extcon-max8997.c')
-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 7039541e837f..d16090ddd65a 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( | |||
289 | break; | 289 | break; |
290 | default: | 290 | default: |
291 | return -EINVAL; | 291 | return -EINVAL; |
292 | break; | ||
293 | } | 292 | } |
294 | 293 | ||
295 | return 0; | 294 | return 0; |