Commit:     26e109b0a90b5ef7b025e44a969836ab9a598ffc
Parent:     1cfab028afe5827433195c57b6f36d61a79beb50
Author:     Andrew Morton <[EMAIL PROTECTED]>
AuthorDate: Thu Dec 13 16:15:34 2007 -0800
Committer:  Greg Kroah-Hartman <[EMAIL PROTECTED]>
CommitDate: Fri Feb 1 14:34:57 2008 -0800

    USB: testing driver: don't free a locked mutex
    Dopey thing to do and lockdep will (or should) warn.
    Spotted by Daniel Walker.
    Cc: Matthias Kaehlcke <[EMAIL PROTECTED]>
    Cc: Daniel Walker <[EMAIL PROTECTED]>
    Cc: Ingo Molnar <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>
 drivers/usb/misc/usbtest.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/misc/usbtest.c b/drivers/usb/misc/usbtest.c
index e385135..f1b886c 100644
--- a/drivers/usb/misc/usbtest.c
+++ b/drivers/usb/misc/usbtest.c
@@ -1992,8 +1992,6 @@ static void usbtest_disconnect (struct usb_interface 
        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);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to