Commit 5bb16d18 authored by Oliver Neukum's avatar Oliver Neukum Committed by Greg Kroah-Hartman
Browse files

USB: kill dead code from hub.c

this kills residual obsoletet code from hub.c
Signed-off-by: default avatarOliver Neukum <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 7bc4b81d
......@@ -1281,12 +1281,6 @@ int usb_new_device(struct usb_device *udev)
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 */
......@@ -1390,7 +1384,6 @@ int usb_new_device(struct usb_device *udev)
return err;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment