diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-02-01 00:51:25 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-02-01 00:51:25 +0000 |
commit | ee1591cd11414dcc5bbcb3df9aadb4e83675fc9b (patch) | |
tree | e15ef7324aee6485eced7ea38434589677635ff5 /sys/dev/usb2/controller/uhci2_pci.c | |
parent | 6e8acdecbedf9f7a7cabde60d53d872fe4f3579b (diff) | |
download | FreeBSD-src-ee1591cd11414dcc5bbcb3df9aadb4e83675fc9b.zip FreeBSD-src-ee1591cd11414dcc5bbcb3df9aadb4e83675fc9b.tar.gz |
Remove check for null softc in attach, it can never happen.
Diffstat (limited to 'sys/dev/usb2/controller/uhci2_pci.c')
-rw-r--r-- | sys/dev/usb2/controller/uhci2_pci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/usb2/controller/uhci2_pci.c b/sys/dev/usb2/controller/uhci2_pci.c index 70cbd3a..725cd84 100644 --- a/sys/dev/usb2/controller/uhci2_pci.c +++ b/sys/dev/usb2/controller/uhci2_pci.c @@ -246,10 +246,6 @@ uhci_pci_attach(device_t self) int rid; int err; - 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; |