Commit 6a462e1d authored by Sachin Kamat's avatar Sachin Kamat Committed by Chanwoo Choi

extcon: max8997: Remove unreachable code

'break' after 'return' is never executed and hence can be deleted.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarMyungjoo Ham <myungjoo.ham@samsung.com>
parent cae93db3
......@@ -289,7 +289,6 @@ static int max8997_muic_handle_charger_type_detach(
break;
default:
return -EINVAL;
break;
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment