diff options
author | phk <phk@FreeBSD.org> | 2003-10-18 17:24:51 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-10-18 17:24:51 +0000 |
commit | 466d3b80d82cce6c657cae4b6ef5eb30f678f635 (patch) | |
tree | 10e22bee3d409a6e6eacefefb4172d733392dc0d /sys | |
parent | b60969a35e00963cdb4eb8b1ee9febbb1b0095e0 (diff) | |
download | FreeBSD-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.c | 1 |
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); |