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>
This commit is contained in:
Sachin Kamat 2013-01-31 09:30:00 +09:00 committed by Chanwoo Choi
parent cae93db311
commit 6a462e1d00

View File

@ -289,7 +289,6 @@ static int max8997_muic_handle_charger_type_detach(
break;
default:
return -EINVAL;
break;
}
return 0;