mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
HID: Avoid double spin_lock_init on usbhid->lock
Avoid double spin_lock_init on usbhid->lock. Signed-off-by: Sergey Senozhatsky <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
This commit is contained in:
parent
fd30ea8c87
commit
8b424887b6
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue