diff options
Diffstat (limited to 'sys/dev/ata/ata-all.c')
-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 */ |