This is a note to let you know that I've just added the patch titled

     Subject: USB: kill dead code from hub.c

to my gregkh-2.6 tree.  Its filename is

     usb-kill-dead-code-from-hub.c.patch

This tree can be found at 
    http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/patches/


>From [EMAIL PROTECTED] Thu Mar  1 13:31:23 2007
From: Oliver Neukum <[EMAIL PROTECTED]>
Date: Thu, 1 Mar 2007 22:31:24 +0100
Subject: USB: kill dead code from hub.c
To: [EMAIL PROTECTED], "list, USB" <linux-usb-devel@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Disposition: inline

this kills residual obsoletet code from hub.c

Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]>
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]>

---
 drivers/usb/core/hub.c |    7 -------
 1 file changed, 7 deletions(-)

--- gregkh-2.6.orig/drivers/usb/core/hub.c
+++ gregkh-2.6/drivers/usb/core/hub.c
@@ -1276,12 +1276,6 @@ int usb_new_device(struct usb_device *ud
 {
        int err;
 
-       /* Lock ourself into memory in order to keep a probe sequence
-        * sleeping in a new thread from allowing us to be unloaded.
-        */
-       if (!try_module_get(THIS_MODULE))
-               return -EINVAL;
-
        /* Determine quirks */
        usb_detect_quirks(udev);
 
@@ -1388,7 +1382,6 @@ int usb_new_device(struct usb_device *ud
                usb_autoresume_device(udev->parent);
 
 exit:
-       module_put(THIS_MODULE);
        return err;
 
 fail:


Patches currently in gregkh-2.6 which might be from [EMAIL PROTECTED] are


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to