summaryrefslogtreecommitdiffstats
path: root/sbin/growfs
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/growfs')
-rw-r--r--sbin/growfs/growfs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sbin/growfs/growfs.c b/sbin/growfs/growfs.c
index b610bd2..81cafea 100644
--- a/sbin/growfs/growfs.c
+++ b/sbin/growfs/growfs.c
@@ -803,7 +803,6 @@ updcsloc(time_t modtime, int fsi, int fso, unsigned int Nflag)
DBG_FUNC("updcsloc")
struct csum *cs;
int ocscg, ncscg;
- int blocks;
ufs2_daddr_t d;
int lcs = 0;
int block;
@@ -820,8 +819,6 @@ updcsloc(time_t modtime, int fsi, int fso, unsigned int Nflag)
}
ocscg = dtog(&osblock, osblock.fs_csaddr);
cs = fscs + ocscg;
- blocks = 1 + howmany(sblock.fs_cssize, sblock.fs_bsize) -
- howmany(osblock.fs_cssize, osblock.fs_bsize);
/*
* Read original cylinder group from disk, and make a copy.
OpenPOWER on IntegriCloud