summaryrefslogtreecommitdiff
path: root/drivers/usb/core
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-08-29 00:49:26 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-08-29 00:49:25 -0700
commit2b4e8cbd34b48aa29ef8f7fff9a09d034764eb93 (patch)
treeb8e30d16af7377e6525eec60501cebd83e9d9669 /drivers/usb/core
parent50618ab44f51b26c088a90d4eb3b9a84bde1302b (diff)
parent5ab1e18aa3913d454e1bd1498b20ee581aae2c6b (diff)
Merge "Revert "Merge remote-tracking branch 'msm-4.4/tmp-510d0a3f' into msm-4.4""
Diffstat (limited to 'drivers/usb/core')
-rw-r--r--drivers/usb/core/hcd-pci.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/usb/core/hcd-pci.c b/drivers/usb/core/hcd-pci.c
index b8b580e5ae6e..9eb1cff28bd4 100644
--- a/drivers/usb/core/hcd-pci.c
+++ b/drivers/usb/core/hcd-pci.c
@@ -74,15 +74,6 @@ static void for_each_companion(struct pci_dev *pdev, struct usb_hcd *hcd,
if (companion->bus != pdev->bus ||
PCI_SLOT(companion->devfn) != slot)
continue;
-
- /*
- * Companion device should be either UHCI,OHCI or EHCI host
- * controller, otherwise skip.
- */
- if (companion->class != CL_UHCI && companion->class != CL_OHCI &&
- companion->class != CL_EHCI)
- continue;
-
companion_hcd = pci_get_drvdata(companion);
if (!companion_hcd || !companion_hcd->self.root_hub)
continue;