Source-Changes-HG archive

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

[src/trunk]: src/sys/nfs "nmp" in nfs_lookup() is set but not used, remove it.



details:   https://anonhg.NetBSD.org/src/rev/f153b29ebd7c
branches:  trunk
changeset: 538512:f153b29ebd7c
user:      simonb <simonb%NetBSD.org@localhost>
date:      Tue Oct 22 02:19:57 2002 +0000

description:
"nmp" in nfs_lookup() is set but not used, remove it.

diffstat:

 sys/nfs/nfs_vnops.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r ed47eb3abc35 -r f153b29ebd7c sys/nfs/nfs_vnops.c
--- a/sys/nfs/nfs_vnops.c       Tue Oct 22 02:12:42 2002 +0000
+++ b/sys/nfs/nfs_vnops.c       Tue Oct 22 02:19:57 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: nfs_vnops.c,v 1.153 2002/10/21 12:52:35 yamt Exp $     */
+/*     $NetBSD: nfs_vnops.c,v 1.154 2002/10/22 02:19:57 simonb Exp $   */
 
 /*
  * Copyright (c) 1989, 1993
@@ -43,7 +43,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.153 2002/10/21 12:52:35 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.154 2002/10/22 02:19:57 simonb Exp $");
 
 #include "opt_nfs.h"
 #include "opt_uvmhist.h"
@@ -805,7 +805,6 @@
        u_int32_t *tl;
        caddr_t cp;
        int32_t t1, t2;
-       struct nfsmount *nmp;
        caddr_t bpos, dpos, cp2;
        struct mbuf *mreq, *mrep, *md, *mb, *mb2;
        long len;
@@ -827,7 +826,6 @@
 
        lockparent = flags & LOCKPARENT;
        wantparent = flags & (LOCKPARENT|WANTPARENT);
-       nmp = VFSTONFS(dvp->v_mount);
        np = VTONFS(dvp);
 
        /*



Home | Main Index | Thread Index | Old Index