mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 12:11:59 +00:00
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:
parent
cae93db311
commit
6a462e1d00
@ -289,7 +289,6 @@ static int max8997_muic_handle_charger_type_detach(
|
||||
break;
|
||||
default:
|
||||
return -EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user