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 assigned-to but not used variable.



details:   https://anonhg.NetBSD.org/src/rev/12de8088c49b
branches:  trunk
changeset: 543318:12de8088c49b
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sun Feb 23 03:32:55 2003 +0000

description:
Remove assigned-to but not used variable.

diffstat:

 sys/ufs/lfs/lfs_syscalls.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r 17a7d93e5be2 -r 12de8088c49b sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c        Sun Feb 23 02:45:44 2003 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c        Sun Feb 23 03:32:55 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_syscalls.c,v 1.82 2003/02/20 04:27:25 perseant Exp $       */
+/*     $NetBSD: lfs_syscalls.c,v 1.83 2003/02/23 03:32:55 simonb Exp $ */
 
 /*-
  * Copyright (c) 1999, 2000, 2001, 2002, 2003 The NetBSD Foundation, Inc.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lfs_syscalls.c,v 1.82 2003/02/20 04:27:25 perseant Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lfs_syscalls.c,v 1.83 2003/02/23 03:32:55 simonb Exp $");
 
 #define LFS            /* for prototypes in syscallargs.h */
 
@@ -1037,7 +1037,6 @@
 int
 lfs_fasthashget(dev_t dev, ino_t ino, struct vnode **vpp)
 {
-       struct inode *ip;
 
        /*
         * This is playing fast and loose.  Someone may have the inode
@@ -1053,7 +1052,6 @@
                        return EAGAIN;
 #endif
                }
-               ip = VTOI(*vpp);
                if (lfs_vref(*vpp)) {
                        clean_inlocked++;
                        return EAGAIN;



Home | Main Index | Thread Index | Old Index