diff options
author | Frank Praznik <frank.praznik@oh.rr.com> | 2014-04-02 18:31:19 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-04-03 14:23:49 +0200 |
commit | 2cf8ee9044d744df57adf8485f205e8f2d4c6f02 (patch) | |
tree | 9bdd47957be73ac90917e103cc99eb5e0c2b4176 | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik... (diff) | |
download | linux-2cf8ee9044d744df57adf8485f205e8f2d4c6f02.tar.xz linux-2cf8ee9044d744df57adf8485f205e8f2d4c6f02.zip |
HID: sony: Fix cancel_work_sync mismerge
Remove redundant cancel_work_sync() call caused by mismerge.
Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-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) if (sc->quirks & SONY_LED_SUPPORT) sony_leds_remove(hdev); - if (sc->worker_initialized) - cancel_work_sync(&sc->state_worker); if (sc->quirks & SONY_BATTERY_SUPPORT) { hid_hw_close(hdev); sony_battery_remove(sc); |