summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-18 11:25:42 +0000
committerphk <phk@FreeBSD.org>2003-10-18 11:25:42 +0000
commitd985a757f9082909ca2179c0209c61661a72f050 (patch)
treef3e366ec8152a7a9fd732e89de8ac65704555992 /sys
parent3905ba5d0a37be7e523bd7f167e6338fffe83c6e (diff)
downloadFreeBSD-src-d985a757f9082909ca2179c0209c61661a72f050.zip
FreeBSD-src-d985a757f9082909ca2179c0209c61661a72f050.tar.gz
Don't initialize unused bio_blkno field.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/md/md.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 58090ff..c630a96 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -367,7 +367,6 @@ g_md_start(struct bio *bp)
sc = bp->bio_to->geom->softc;
- bp->bio_blkno = bp->bio_offset >> DEV_BSHIFT;
bp->bio_pblkno = bp->bio_offset / sc->secsize;
bp->bio_bcount = bp->bio_length;
mtx_lock(&sc->queue_mtx);
OpenPOWER on IntegriCloud