summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max8997.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-01-31 01:30:00 +0100
committerChanwoo Choi <cw00.choi@samsung.com>2013-02-13 23:52:47 +0100
commit6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2 (patch)
tree8adc1bbcfcd37862c3d682db037761f30adef260 /drivers/extcon/extcon-max8997.c
parentextcon: max8997: Make max8997_extcon_cable static (diff)
downloadlinux-6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2.tar.xz
linux-6a462e1d007a6eecb18c44a2fef3ba4953a3f4b2.zip
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;