diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2010-01-16 15:45:11 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2010-01-16 15:45:11 +0000 |
commit | faad07423d6c0bc97569bea380e61f2a117dedc7 (patch) | |
tree | dcf14dbb0072535002addd7303a0c6266d38af1d | |
parent | 20f7f8e90e993018da30785b049f4278d7e2868e (diff) |
Remove dead assignment and newly created unused variable.
Found by LLVM/Clang Static Analyzer.
ok tedu@ thib@
-rw-r--r-- | sys/ufs/ffs/ffs_alloc.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/ufs/ffs/ffs_alloc.c b/sys/ufs/ffs/ffs_alloc.c index 4ee2119c56c..36aaef316bf 100644 --- a/sys/ufs/ffs/ffs_alloc.c +++ b/sys/ufs/ffs/ffs_alloc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ffs_alloc.c,v 1.87 2009/01/17 18:50:25 grange Exp $ */ +/* $OpenBSD: ffs_alloc.c,v 1.88 2010/01/16 15:45:10 chl Exp $ */ /* $NetBSD: ffs_alloc.c,v 1.11 1996/05/11 18:27:09 mycroft Exp $ */ /* @@ -585,7 +585,6 @@ ffs2_reallocblks(void *v) struct buf *sbp, *ebp; daddr64_t *bap, *sbap, *ebap = 0; struct cluster_save *buflist; - struct ufsmount *ump; daddr64_t start_lbn, end_lbn; daddr64_t soff, newblk, blkno, pref; struct indir start_ap[NIADDR + 1], end_ap[NIADDR + 1], *idp; @@ -594,7 +593,6 @@ ffs2_reallocblks(void *v) vp = ap->a_vp; ip = VTOI(vp); fs = ip->i_fs; - ump = ip->i_ump; if (fs->fs_contigsumsize <= 0) return (ENOSPC); |