summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/controller/ehci2_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb2/controller/ehci2_pci.c')
-rw-r--r--sys/dev/usb2/controller/ehci2_pci.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/usb2/controller/ehci2_pci.c b/sys/dev/usb2/controller/ehci2_pci.c
index 4ca43d9..038211d 100644
--- a/sys/dev/usb2/controller/ehci2_pci.c
+++ b/sys/dev/usb2/controller/ehci2_pci.c
@@ -227,10 +227,6 @@ ehci_pci_attach(device_t self)
int err;
int rid;
- if (sc == NULL) {
- device_printf(self, "Could not allocate sc\n");
- return (ENXIO);
- }
/* initialise some bus fields */
sc->sc_bus.parent = self;
sc->sc_bus.devices = sc->sc_devices;
OpenPOWER on IntegriCloud