summaryrefslogtreecommitdiffstats
path: root/firmware/target/coldfire/iriver
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/coldfire/iriver')
-rw-r--r--firmware/target/coldfire/iriver/h100/power-h100.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/firmware/target/coldfire/iriver/h100/power-h100.c b/firmware/target/coldfire/iriver/h100/power-h100.c
index 2717e42f4a..1dcea9ce0e 100644
--- a/firmware/target/coldfire/iriver/h100/power-h100.c
+++ b/firmware/target/coldfire/iriver/h100/power-h100.c
@@ -57,12 +57,6 @@ unsigned int power_input_status(void)
POWER_INPUT_MAIN_CHARGER : POWER_INPUT_NONE;
}
-/* Returns true if the unit is charging the batteries. */
-bool charging_state(void)
-{
- return (power_input_status() & POWER_INPUT_CHARGER) != 0;
-}
-
#ifdef HAVE_SPDIF_POWER
void spdif_power_enable(bool on)
{