summaryrefslogtreecommitdiff
path: root/common/battery_link.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/battery_link.c')
-rw-r--r--common/battery_link.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/battery_link.c b/common/battery_link.c
index 98cde6de46..c92f3dafd2 100644
--- a/common/battery_link.c
+++ b/common/battery_link.c
@@ -120,10 +120,7 @@ void battery_vendor_params(struct batt_params *batt)
limit_value(desired_current, current_limit[temp_range][volt_range]);
-#ifndef CONFIG_SLOW_PRECHARGE
/* If battery wants current, give it at least the precharge current */
if (*desired_current > 0 && *desired_current < info.precharge_current)
*desired_current = info.precharge_current;
-#endif /* CONFIG_SLOW_PRECHARGE */
-
}