Remove unused variable.

This commit is contained in:
nathanw 2000-07-11 16:08:15 +00:00
parent 6c4d97da13
commit dd44125396

View File

@ -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);