diff options
author | sos <sos@FreeBSD.org> | 2001-12-14 21:23:19 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2001-12-14 21:23:19 +0000 |
commit | e87e06e62bac2da80a9f13fe39168905a28cfb2f (patch) | |
tree | 88cf3a45e2fa4b31c3720e8f0caaa9ed5f96ef18 /sys | |
parent | cdb77be2ca2b01daba2a0a6cab6942e73dcd8ccb (diff) | |
download | FreeBSD-src-e87e06e62bac2da80a9f13fe39168905a28cfb2f.zip FreeBSD-src-e87e06e62bac2da80a9f13fe39168905a28cfb2f.tar.gz |
Do be so anal on detach, properly free interrupt even if no devices.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index ee3ccd8..6a210ff 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -218,7 +218,7 @@ ata_detach(device_t dev) if (!dev) return ENXIO; scp = device_get_softc(dev); - if (!scp || !scp->devices) + if (!scp) return ENXIO; /* make sure channel is not busy SOS XXX */ |