projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f1b1e6
)
HID: sony: Fix cancel_work_sync mismerge
author
Frank Praznik
<frank.praznik@oh.rr.com>
Wed, 2 Apr 2014 16:31:19 +0000
(12:31 -0400)
committer
Jiri Kosina
<jkosina@suse.cz>
Thu, 3 Apr 2014 12:23:49 +0000
(14:23 +0200)
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>
drivers/hid/hid-sony.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hid/hid-sony.c
b/drivers/hid/hid-sony.c
index 69204afea7a48384d7bda840808b5c66b0988b60..908de278921944dfae837284f582e117617c479d 100644
(file)
--- 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);