diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2017-07-16 07:12:04 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2017-07-16 07:12:04 +0000 |
commit | 35bf7809215016405f3c66acec1a47d4572ae34a (patch) | |
tree | 649ca9f8b581e348cdd86d7d848ebafeee3fad01 /sys/ufs/ffs | |
parent | 51a6a15f8caabb4b2bfa262ab17f4308e0098fff (diff) | |
download | src-35bf7809215016405f3c66acec1a47d4572ae34a.tar.gz src-35bf7809215016405f3c66acec1a47d4572ae34a.zip |
Remove write-only variable.
Tested by: pho
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=321041
Diffstat (limited to 'sys/ufs/ffs')
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 4db93d6c4bd6..f1dbfab28fd0 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -2130,7 +2130,6 @@ ffs_blkfree_cg(ump, fs, devvp, bno, size, inum, dephd) struct cg *cgp; struct buf *bp; ufs1_daddr_t fragno, cgbno; - ufs2_daddr_t cgblkno; int i, blk, frags, bbase, error; u_int cg; u_int8_t *blksfree; @@ -2141,11 +2140,9 @@ ffs_blkfree_cg(ump, fs, devvp, bno, size, inum, dephd) /* devvp is a snapshot */ MPASS(devvp->v_mount->mnt_data == ump); dev = ump->um_devvp->v_rdev; - cgblkno = fragstoblks(fs, cgtod(fs, cg)); } else if (devvp->v_type == VCHR) { /* devvp is a normal disk device */ dev = devvp->v_rdev; - cgblkno = fsbtodb(fs, cgtod(fs, cg)); ASSERT_VOP_LOCKED(devvp, "ffs_blkfree_cg"); } else return; |