diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c index e3851359d6537ed7d7b55a67672e621b52dd4f7f..f1b886c204c0c2ceb51d006681285b270643f3f5 100644 --- a/drivers/usb/misc/usbtest.c +++ b/drivers/usb/misc/usbtest.c @@ -1992,8 +1992,6 @@ static void usbtest_disconnect (struct usb_interface *intf) { struct usbtest_dev *dev = usb_get_intfdata (intf); - mutex_lock(&dev->lock); - usb_set_intfdata (intf, NULL); dev_dbg (&intf->dev, "disconnect\n"); kfree (dev);