diff options
-rw-r--r-- | sys/dev/atkbdc/psm.c | 3 | ||||
-rw-r--r-- | sys/isa/psm.c | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/atkbdc/psm.c b/sys/dev/atkbdc/psm.c index f5df88f..376c0dc 100644 --- a/sys/dev/atkbdc/psm.c +++ b/sys/dev/atkbdc/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); 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); |