diff options
author | mux <mux@FreeBSD.org> | 2004-04-17 10:25:04 +0000 |
---|---|---|
committer | mux <mux@FreeBSD.org> | 2004-04-17 10:25:04 +0000 |
commit | b04760a2c01e20f5e532436200ab542ea566d184 (patch) | |
tree | fef135a3f294485e10cd1a7225d041d28351e575 /sys/isa | |
parent | c5c33ab4e964a2fe26db4451da7fb8440ae7e5b7 (diff) | |
download | FreeBSD-src-b04760a2c01e20f5e532436200ab542ea566d184.zip FreeBSD-src-b04760a2c01e20f5e532436200ab542ea566d184.tar.gz |
Don't check for device_get_softc() returning NULL, it can't happen.
Diffstat (limited to 'sys/isa')
-rw-r--r-- | sys/isa/psm.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/isa/psm.c b/sys/isa/psm.c index f5df88f..376c0dc 100644 --- a/sys/isa/psm.c +++ b/sys/isa/psm.c @@ -1245,9 +1245,6 @@ psmattach(device_t dev) int error; int rid; - if (sc == NULL) /* shouldn't happen */ - return (ENXIO); - /* Setup initial state */ sc->state = PSM_VALID; callout_handle_init(&sc->callout); |