summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-18 17:24:51 +0000
committerphk <phk@FreeBSD.org>2003-10-18 17:24:51 +0000
commit466d3b80d82cce6c657cae4b6ef5eb30f678f635 (patch)
tree10e22bee3d409a6e6eacefefb4172d733392dc0d /sys
parentb60969a35e00963cdb4eb8b1ee9febbb1b0095e0 (diff)
downloadFreeBSD-src-466d3b80d82cce6c657cae4b6ef5eb30f678f635.zip
FreeBSD-src-466d3b80d82cce6c657cae4b6ef5eb30f678f635.tar.gz
No need to initialize bio_pblkno from bio_blkno, disksort uses bio_offset.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ata/atapi-cd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c
index 6a8210c..2140ad0 100644
--- a/sys/dev/ata/atapi-cd.c
+++ b/sys/dev/ata/atapi-cd.c
@@ -1069,7 +1069,6 @@ acd_strategy(struct bio *bp)
return;
}
- bp->bio_pblkno = bp->bio_blkno;
bp->bio_resid = bp->bio_bcount;
mtx_lock(&cdp->queue_mtx);
OpenPOWER on IntegriCloud