aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ata/atapi-fd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ata/atapi-fd.c')
-rw-r--r--sys/dev/ata/atapi-fd.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c
index a831ff409e7d..a419d2b1353d 100644
--- a/sys/dev/ata/atapi-fd.c
+++ b/sys/dev/ata/atapi-fd.c
@@ -307,13 +307,6 @@ afdstrategy(struct bio *bp)
return;
}
- /* if it's a null transfer, return immediatly. */
- if (bp->bio_bcount == 0) {
- bp->bio_resid = 0;
- biodone(bp);
- return;
- }
-
s = splbio();
bioqdisksort(&fdp->queue, bp);
ata_start(fdp->atp->controller);