diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index a428aa080a365e219857cd0b465aab5e67a4887b..99fff6be36419edf1d54914c33c1aea1529c05b4 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -1636,11 +1636,6 @@ void usb_disconnect(struct usb_device **pdev) int i; struct usb_hcd *hcd = bus_to_hcd(udev->bus); - if (!udev) { - pr_debug ("%s nodev\n", __func__); - return; - } - /* mark the device as inactive, so any further urb submissions for * this device (and any of its children) will fail immediately. * this quiesces everything except pending urbs.