summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb2/controller/musb2_otg_atmelarm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb2/controller/musb2_otg_atmelarm.c')
-rw-r--r--sys/dev/usb2/controller/musb2_otg_atmelarm.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/usb2/controller/musb2_otg_atmelarm.c b/sys/dev/usb2/controller/musb2_otg_atmelarm.c
index 44fa320..6477c97 100644
--- a/sys/dev/usb2/controller/musb2_otg_atmelarm.c
+++ b/sys/dev/usb2/controller/musb2_otg_atmelarm.c
@@ -90,11 +90,7 @@ musbotg_attach(device_t dev)
int err;
int rid;
- if (sc == NULL) {
- return (ENXIO);
- }
/* setup MUSB OTG USB controller interface softc */
-
sc->sc_otg.sc_clocks_on = &musbotg_clocks_on;
sc->sc_otg.sc_clocks_off = &musbotg_clocks_off;
sc->sc_otg.sc_clocks_arg = sc;
OpenPOWER on IntegriCloud