From: Frank Praznik Date: Wed, 2 Apr 2014 16:31:19 +0000 (-0400) Subject: HID: sony: Fix cancel_work_sync mismerge X-Git-Tag: v3.15-rc5~8^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2cf8ee9044d744df57adf8485f205e8f2d4c6f02;p=platform%2Fkernel%2Flinux-exynos.git HID: sony: Fix cancel_work_sync mismerge Remove redundant cancel_work_sync() call caused by mismerge. Signed-off-by: Frank Praznik Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 69204af..908de27 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);