projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd30ea8
)
HID: Avoid double spin_lock_init on usbhid->lock
author
Sergey Senozhatsky
<sergey.senozhatsky@mail.by>
Tue, 23 Jun 2009 13:32:19 +0000
(15:32 +0200)
committer
Jiri Kosina
<jkosina@suse.cz>
Wed, 22 Jul 2009 23:28:00 +0000
(
01:28
+0200)
Avoid double spin_lock_init on usbhid->lock.
Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@mail.by>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c
patch
|
blob
|
history
diff --git
a/drivers/hid/usbhid/hid-core.c
b/drivers/hid/usbhid/hid-core.c
index 3c1fcb7640abe1458d52146f8456c16295ec531f..9238bcffaf01c9063521f19c6e4a6f5aff9be344 100644
(file)
--- a/
drivers/hid/usbhid/hid-core.c
+++ b/
drivers/hid/usbhid/hid-core.c
@@
-985,7
+985,6
@@
static int usbhid_start(struct hid_device *hid)
INIT_WORK(&usbhid->restart_work, __usbhid_restart_queues);
setup_timer(&usbhid->io_retry, hid_retry_timeout, (unsigned long) hid);
- spin_lock_init(&usbhid->lock);
spin_lock_init(&usbhid->lock);
usbhid->intf = intf;