On Tue, 23 Jun 2009, Sergey Senozhatsky wrote: > Trivial: Avoid double spin_lock_init on usbhid->lock. > > Signed-off-by: Sergey Senozhatsky <sergey.senozhatsky@xxxxxxx> > --- > diff --git a/drivers/hid/usbhid/hid-core.c b/drivers/hid/usbhid/hid-core.c > index 76c4bbe..c654b89 100644 > --- a/drivers/hid/usbhid/hid-core.c > +++ b/drivers/hid/usbhid/hid-core.c > @@ -987,7 +987,6 @@ static int usbhid_start(struct hid_device *hid) > setup_timer(&usbhid->io_retry, hid_retry_timeout, (unsigned long) hid); > > spin_lock_init(&usbhid->lock); > - spin_lock_init(&usbhid->lock); > > usbhid->intf = intf; > usbhid->ifnum = interface->desc.bInterfaceNumber; Hi Sergey, I have applied the patch. Your mail hasn't reached my @suse.cz address though, I have digged it from linux-input. Is your SMTP server or some blacklist? Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html