projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bc4b81
)
USB: kill dead code from hub.c
author
Oliver Neukum
<
[email protected]
>
Thu, 1 Mar 2007 21:31:24 +0000
(22:31 +0100)
committer
Greg Kroah-Hartman
<
[email protected]
>
Sat, 10 Mar 2007 03:52:24 +0000
(19:52 -0800)
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
patch
|
blob
|
history
diff --git
a/drivers/usb/core/hub.c
b/drivers/usb/core/hub.c
index ce6c6a0d44bf8bfb730d115a5f1eee3a2e09fc05..b89a98e613235ea715154f347a50763fb81b4e78 100644
(file)
--- a/
drivers/usb/core/hub.c
+++ b/
drivers/usb/core/hub.c
@@
-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 */
usb_detect_quirks(udev);
@@
-1390,7
+1384,6
@@
int usb_new_device(struct usb_device *udev)
usb_autoresume_device(udev->parent);
exit:
- module_put(THIS_MODULE);
return err;
fail: