Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/ufs/lfs Remove unused variable to fix the build.



details:   https://anonhg.NetBSD.org/src/rev/05e4c52c4124
branches:  trunk
changeset: 788903:05e4c52c4124
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Sun Jul 28 04:24:44 2013 +0000

description:
Remove unused variable to fix the build.

diffstat:

 sys/ufs/lfs/lfs_vnops.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 5d61127702e5 -r 05e4c52c4124 sys/ufs/lfs/lfs_vnops.c
--- a/sys/ufs/lfs/lfs_vnops.c   Sun Jul 28 01:27:02 2013 +0000
+++ b/sys/ufs/lfs/lfs_vnops.c   Sun Jul 28 04:24:44 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_vnops.c,v 1.254 2013/07/28 01:27:02 dholland Exp $ */
+/*     $NetBSD: lfs_vnops.c,v 1.255 2013/07/28 04:24:44 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -60,7 +60,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.254 2013/07/28 01:27:02 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_vnops.c,v 1.255 2013/07/28 04:24:44 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -620,7 +620,6 @@
        ip->i_flag |= IN_ACCESS | IN_CHANGE | IN_UPDATE;
        if (vap->va_rdev != VNOVAL) {
                struct ulfsmount *ump = ip->i_ump;
-               struct lfs *fs = ip->i_lfs;
                /*
                 * Want to be able to use this to make badblock
                 * inodes, so don't truncate the dev number.



Home | Main Index | Thread Index | Old Index