Source-Changes-HG archive

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

[src/trunk]: src/sys/adosfs Remove unused variable.



details:   https://anonhg.NetBSD.org/src/rev/1c2ed19dd20a
branches:  trunk
changeset: 494703:1c2ed19dd20a
user:      nathanw <nathanw%NetBSD.org@localhost>
date:      Tue Jul 11 16:08:15 2000 +0000

description:
Remove unused variable.

diffstat:

 sys/adosfs/adlookup.c |  4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 5c930790eb17 -r 1c2ed19dd20a sys/adosfs/adlookup.c
--- a/sys/adosfs/adlookup.c     Tue Jul 11 12:54:00 2000 +0000
+++ b/sys/adosfs/adlookup.c     Tue Jul 11 16:08:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adlookup.c,v 1.25 1999/09/20 07:29:27 frueauf Exp $    */
+/*     $NetBSD: adlookup.c,v 1.26 2000/07/11 16:08:15 nathanw Exp $    */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -76,7 +76,6 @@
        struct ucred *ucp;      /* lookup credentials */
        u_long bn, plen, hval;
        const u_char *pelt;
-       struct proc *p;
 
 #ifdef ADOSFS_DIAGNOSTIC
        advopprint(sp);
@@ -90,7 +89,6 @@
        nameiop = cnp->cn_nameiop;
        cnp->cn_flags &= ~PDIRUNLOCK;
        flags = cnp->cn_flags;
-       p = cnp->cn_proc;
        last = flags & ISLASTCN;
        lockp = flags & LOCKPARENT;
        wantp = flags & (LOCKPARENT | WANTPARENT);



Home | Main Index | Thread Index | Old Index