diff options
Diffstat (limited to 'drivers/acpi/battery.c')
-rw-r--r-- | drivers/acpi/battery.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index da9fcaac1e85..2c9958cd7a43 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c | |||
@@ -1028,8 +1028,6 @@ static void acpi_battery_notify(struct acpi_device *device, u32 event) | |||
1028 | if (event == ACPI_BATTERY_NOTIFY_INFO) | 1028 | if (event == ACPI_BATTERY_NOTIFY_INFO) |
1029 | acpi_battery_refresh(battery); | 1029 | acpi_battery_refresh(battery); |
1030 | acpi_battery_update(battery); | 1030 | acpi_battery_update(battery); |
1031 | acpi_bus_generate_proc_event(device, event, | ||
1032 | acpi_battery_present(battery)); | ||
1033 | acpi_bus_generate_netlink_event(device->pnp.device_class, | 1031 | acpi_bus_generate_netlink_event(device->pnp.device_class, |
1034 | dev_name(&device->dev), event, | 1032 | dev_name(&device->dev), event, |
1035 | acpi_battery_present(battery)); | 1033 | acpi_battery_present(battery)); |