提交 8b424887 编写于 作者: S Sergey Senozhatsky 提交者: Jiri Kosina

HID: Avoid double spin_lock_init on usbhid->lock

Avoid double spin_lock_init on usbhid->lock.
Signed-off-by: NSergey Senozhatsky <sergey.senozhatsky@mail.by>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 fd30ea8c
无相关合并请求
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部