diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-09-06 13:31:10 +0530 |
---|---|---|
committer | Anton Vorontsov <anton@enomsg.org> | 2013-10-25 15:36:23 -0700 |
commit | 08a5c7e6842f9c4c1556f147af2a561056345a45 (patch) | |
tree | 8079dda6eb170d4d435d1911a0aeecb83e381356 /drivers/power | |
parent | 6de7ef3e309acb1e55ae122b85a2665064832b0c (diff) | |
download | linux-stable-08a5c7e6842f9c4c1556f147af2a561056345a45.tar.gz linux-stable-08a5c7e6842f9c4c1556f147af2a561056345a45.tar.bz2 linux-stable-08a5c7e6842f9c4c1556f147af2a561056345a45.zip |
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>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/ab8500_charger.c | 1 |
1 files changed, 0 insertions, 1 deletions
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: |