ab8500-charger: Remove redundant break
Each of the if-else blocks has a break statement. Remove the additional one which is unreachable. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Anton Vorontsov <anton@enomsg.org>
This commit is contained in:
parent
6de7ef3e30
commit
08a5c7e684
|
@ -766,7 +766,6 @@ static int ab8500_charger_max_usb_curr(struct ab8500_charger *di,
|
||||||
ret = -ENXIO;
|
ret = -ENXIO;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
|
||||||
case USB_STAT_CARKIT_1:
|
case USB_STAT_CARKIT_1:
|
||||||
case USB_STAT_CARKIT_2:
|
case USB_STAT_CARKIT_2:
|
||||||
case USB_STAT_ACA_DOCK_CHARGER:
|
case USB_STAT_ACA_DOCK_CHARGER:
|
||||||
|
|
Loading…
Reference in New Issue