summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/controller/ohci2_atmelarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb2/controller/ohci2_atmelarm.c')
-rw-r--r--sys/dev/usb2/controller/ohci2_atmelarm.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/usb2/controller/ohci2_atmelarm.c b/sys/dev/usb2/controller/ohci2_atmelarm.c
index 41e7b10..a7f086c 100644
--- a/sys/dev/usb2/controller/ohci2_atmelarm.c
+++ b/sys/dev/usb2/controller/ohci2_atmelarm.c
@@ -69,9 +69,6 @@ ohci_atmelarm_attach(device_t dev)
int err;
int rid;
- if (sc == NULL) {
- return (ENXIO);
- }
/* initialise some bus fields */
sc->sc_ohci.sc_bus.parent = dev;
sc->sc_ohci.sc_bus.devices = sc->sc_ohci.sc_devices;
OpenPOWER on IntegriCloud