diff options
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r-- | drivers/usb/host/xhci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 0420eefa647a..c928dbbff881 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
@@ -719,8 +719,6 @@ static void xhci_stop(struct usb_hcd *hcd) | |||
719 | 719 | ||
720 | /* Only halt host and free memory after both hcds are removed */ | 720 | /* Only halt host and free memory after both hcds are removed */ |
721 | if (!usb_hcd_is_primary_hcd(hcd)) { | 721 | if (!usb_hcd_is_primary_hcd(hcd)) { |
722 | /* usb core will free this hcd shortly, unset pointer */ | ||
723 | xhci->shared_hcd = NULL; | ||
724 | mutex_unlock(&xhci->mutex); | 722 | mutex_unlock(&xhci->mutex); |
725 | return; | 723 | return; |
726 | } | 724 | } |