projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6de7ef3
)
ab8500-charger: Remove redundant break
author
Sachin Kamat
<sachin.kamat@linaro.org>
Fri, 6 Sep 2013 08:01:10 +0000
(13:31 +0530)
committer
Anton 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/ab8500_charger.c
b/drivers/power/ab8500_charger.c
index fd350189b6329baaf3a6808462eb1b479394c979..19110aa613a13110ba08d8c7cc783ba834f990b7 100644
(file)
--- 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: