summaryrefslogtreecommitdiffstats
path: root/sys/dev/ida/ida_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ida/ida_disk.c')
-rw-r--r--sys/dev/ida/ida_disk.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sys/dev/ida/ida_disk.c b/sys/dev/ida/ida_disk.c
index 99251ef..4bf662c 100644
--- a/sys/dev/ida/ida_disk.c
+++ b/sys/dev/ida/ida_disk.c
@@ -169,12 +169,6 @@ idad_strategy(struct bio *bp)
goto bad;
}
- /*
- * If it's a null transfer, return immediately
- */
- if (bp->bio_bcount == 0)
- goto done;
-
bp->bio_driver1 = drv;
s = splbio();
devstat_start_transaction(&drv->stats);
OpenPOWER on IntegriCloud