aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/host/ehci-vf.c')
-rw-r--r--drivers/usb/host/ehci-vf.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/usb/host/ehci-vf.c b/drivers/usb/host/ehci-vf.c
index 98e0fc6ca66..351e0fbb50b 100644
--- a/drivers/usb/host/ehci-vf.c
+++ b/drivers/usb/host/ehci-vf.c
@@ -134,11 +134,6 @@ int ehci_hcd_init(int index, enum usb_init_type init,
if (index >= ARRAY_SIZE(nc_reg_bases))
return -EINVAL;
- if (init == USB_INIT_DEVICE && index == 1)
- return -ENODEV;
- if (init == USB_INIT_HOST && index == 0)
- return -ENODEV;
-
ehci = (struct usb_ehci *)nc_reg_bases[index];
/* Do board specific initialisation */