diff options
Diffstat (limited to 'drivers/hid/hid-sony.c')
-rw-r--r-- | drivers/hid/hid-sony.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 69204afea7a4..908de2789219 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c | |||
@@ -1721,8 +1721,6 @@ static void sony_remove(struct hid_device *hdev) | |||
1721 | if (sc->quirks & SONY_LED_SUPPORT) | 1721 | if (sc->quirks & SONY_LED_SUPPORT) |
1722 | sony_leds_remove(hdev); | 1722 | sony_leds_remove(hdev); |
1723 | 1723 | ||
1724 | if (sc->worker_initialized) | ||
1725 | cancel_work_sync(&sc->state_worker); | ||
1726 | if (sc->quirks & SONY_BATTERY_SUPPORT) { | 1724 | if (sc->quirks & SONY_BATTERY_SUPPORT) { |
1727 | hid_hw_close(hdev); | 1725 | hid_hw_close(hdev); |
1728 | sony_battery_remove(sc); | 1726 | sony_battery_remove(sc); |