summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amr_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/amr/amr_disk.c')
-rw-r--r--sys/dev/amr/amr_disk.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/amr/amr_disk.c b/sys/dev/amr/amr_disk.c
index f846043..de703fe 100644
--- a/sys/dev/amr/amr_disk.c
+++ b/sys/dev/amr/amr_disk.c
@@ -165,10 +165,6 @@ amrd_strategy(struct bio *bio)
goto bad;
}
- /* do-nothing operation */
- if (bio->bio_bcount == 0)
- goto done;
-
devstat_start_transaction(&sc->amrd_stats);
amr_submit_bio(sc->amrd_controller, bio);
return;
OpenPOWER on IntegriCloud