summaryrefslogtreecommitdiff
path: root/drivers/power/supply/z2_battery.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/z2_battery.c')
-rw-r--r--drivers/power/supply/z2_battery.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/power/supply/z2_battery.c b/drivers/power/supply/z2_battery.c
index b1508fe70e5e..7ed4e4bb26ec 100644
--- a/drivers/power/supply/z2_battery.c
+++ b/drivers/power/supply/z2_battery.c
@@ -90,9 +90,6 @@ static void z2_batt_ext_power_changed(struct power_supply *batt_ps)
static void z2_batt_update(struct z2_charger *charger)
{
int old_status = charger->bat_status;
- struct z2_battery_info *info;
-
- info = charger->info;
mutex_lock(&charger->work_lock);