google_cpm: remove redundant log to avoid log storm
Bug: 258544441
Change-Id: I17594615e67ea350932864904d89a4601c769a2e
Signed-off-by: Jack Wu <[email protected]>
diff --git a/google_cpm.c b/google_cpm.c
index 5ed7448..ec0e68b 100644
--- a/google_cpm.c
+++ b/google_cpm.c
@@ -902,11 +902,6 @@
gcpm->dc_index, index, ret, pval.intval,
gcpm->dc_limit_soc_high);
- if (index != gcpm->dc_index)
- logbuffer_log(gcpm->log, "by_s: index=%d->%d soc=%d soc_high=%d",
- gcpm->dc_index, index, pval.intval,
- gcpm->dc_limit_soc_high);
-
return index;
}
@@ -959,12 +954,6 @@
__func__, gcpm->dc_index, index, vbatt, vbatt_low, vbatt_min,
vbatt_high, vbatt_max);
- if (index != gcpm->dc_index)
- logbuffer_log(gcpm->log,
- "by_v: index=%d->%d vbatt=%d: low=%d min=%d high=%d max=%d\n",
- gcpm->dc_index, index, vbatt, vbatt_low, vbatt_min,
- vbatt_high, vbatt_max);
-
return index;
}