From dd441253965b99afe4883882b88cb15315149e2f Mon Sep 17 00:00:00 2001 From: nathanw Date: Tue, 11 Jul 2000 16:08:15 +0000 Subject: [PATCH] Remove unused variable. --- sys/adosfs/adlookup.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sys/adosfs/adlookup.c b/sys/adosfs/adlookup.c index 67b399a6e11f..55074433cf8d 100644 --- a/sys/adosfs/adlookup.c +++ b/sys/adosfs/adlookup.c @@ -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 @@ adosfs_lookup(v) 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 @@ adosfs_lookup(v) 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);