]> Pileus Git - ~andy/linux/commitdiff
ab8500-charger: Remove redundant break
authorSachin Kamat <sachin.kamat@linaro.org>
Fri, 6 Sep 2013 08:01:10 +0000 (13:31 +0530)
committerAnton Vorontsov <anton@enomsg.org>
Fri, 25 Oct 2013 22:36:23 +0000 (15:36 -0700)
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>
drivers/power/ab8500_charger.c

index fd350189b6329baaf3a6808462eb1b479394c979..19110aa613a13110ba08d8c7cc783ba834f990b7 100644 (file)
@@ -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: