aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/extcon
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-01-30 19:30:00 -0500
committerChanwoo Choi <cw00.choi@samsung.com>2013-02-13 17:52:47 -0500
commit6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2 (patch)
tree8adc1bbcfcd37862c3d682db037761f30adef260 /drivers/extcon
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')
-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(
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;