From: Sachin Kamat Date: Fri, 6 Sep 2013 08:01:10 +0000 (+0530) Subject: ab8500-charger: Remove redundant break X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=08a5c7e6842f9c4c1556f147af2a561056345a45;p=linux-beck.git 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 Acked-by: Lee Jones Signed-off-by: Anton Vorontsov --- diff --git a/drivers/power/ab8500_charger.c b/drivers/power/ab8500_charger.c index fd350189b632..19110aa613a1 100644 --- a/drivers/power/ab8500_charger.c +++ b/drivers/power/ab8500_charger.c @@ -766,7 +766,6 @@ static int ab8500_charger_max_usb_curr(struct ab8500_charger *di, ret = -ENXIO; break; } - break; case USB_STAT_CARKIT_1: case USB_STAT_CARKIT_2: case USB_STAT_ACA_DOCK_CHARGER: