summaryrefslogtreecommitdiff
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-01-31 09:30:00 +0900
committerChanwoo Choi <cw00.choi@samsung.com>2013-02-14 07:52:47 +0900
commit6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2 (patch)
tree8adc1bbcfcd37862c3d682db037761f30adef260 /drivers/extcon/extcon-max8997.c
parentcae93db3111a524c234397fc53b6a2fc51099528 (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.c1
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(
break;
default:
return -EINVAL;
- break;
}
return 0;