summaryrefslogtreecommitdiff
path: root/include/charge_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/charge_state.h')
-rw-r--r--include/charge_state.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/charge_state.h b/include/charge_state.h
index 47ce682d01..b9795391b1 100644
--- a/include/charge_state.h
+++ b/include/charge_state.h
@@ -143,11 +143,7 @@ int charge_get_percent(void);
/**
* Return non-zero if discharging and battery so low we should shut down.
*/
-#ifdef CONFIG_CHARGER
int charge_want_shutdown(void);
-#else
-static inline int charge_want_shutdown(void) { return 0; }
-#endif
/**
* Get the last polled battery/charger temperature.