USB: kill dead code from hub.c
this kills residual obsoletet code from hub.c Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
7bc4b81ded
commit
5bb16d189f
1 changed files with 0 additions and 7 deletions
|
@ -1281,12 +1281,6 @@ int usb_new_device(struct usb_device *udev)
|
||||||
{
|
{
|
||||||
int err;
|
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 */
|
/* Determine quirks */
|
||||||
usb_detect_quirks(udev);
|
usb_detect_quirks(udev);
|
||||||
|
|
||||||
|
@ -1390,7 +1384,6 @@ int usb_new_device(struct usb_device *udev)
|
||||||
usb_autoresume_device(udev->parent);
|
usb_autoresume_device(udev->parent);
|
||||||
|
|
||||||
exit:
|
exit:
|
||||||
module_put(THIS_MODULE);
|
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
fail:
|
fail:
|
||||||
|
|
Loading…
Reference in a new issue