diff options
author | phk <phk@FreeBSD.org> | 2001-05-06 21:55:22 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-05-06 21:55:22 +0000 |
commit | d95099399d37a681fda4dff26bc0631ea5b988e3 (patch) | |
tree | 7a8b40ff50afe0d7cc1aee2b928221f4ded19339 /sys/dev/mlx | |
parent | a1f1a879b581a842e4c34c578b4503b28a6e5ff0 (diff) | |
download | FreeBSD-src-d95099399d37a681fda4dff26bc0631ea5b988e3.zip FreeBSD-src-d95099399d37a681fda4dff26bc0631ea5b988e3.tar.gz |
Make the disk mini-layer check for and handle zero-length transfers
instead of the underlying drivers.
Diffstat (limited to 'sys/dev/mlx')
-rw-r--r-- | sys/dev/mlx/mlx_disk.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c index 18698c2..b372247 100644 --- a/sys/dev/mlx/mlx_disk.c +++ b/sys/dev/mlx/mlx_disk.c @@ -179,10 +179,6 @@ mlxd_strategy(struct bio *bp) goto bad; } - /* do-nothing operation */ - if (bp->bio_bcount == 0) - goto done; - devstat_start_transaction(&sc->mlxd_stats); mlx_submit_buf(sc->mlxd_controller, bp); return; |