Module Name: src
Committed By: christos
Date: Thu Oct 17 20:55:31 UTC 2013
Modified Files:
src/sys/coda: coda_vnops.c
Log Message:
remove unused code.
To generate a diff of this commit:
cvs rdiff -u -r1.90 -r1.91 src/sys/coda/coda_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/coda/coda_vnops.c
diff -u src/sys/coda/coda_vnops.c:1.90 src/sys/coda/coda_vnops.c:1.91
--- src/sys/coda/coda_vnops.c:1.90 Thu Aug 2 12:06:58 2012
+++ src/sys/coda/coda_vnops.c Thu Oct 17 16:55:30 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: coda_vnops.c,v 1.90 2012/08/02 16:06:58 christos Exp $ */
+/* $NetBSD: coda_vnops.c,v 1.91 2013/10/17 20:55:30 christos Exp $ */
/*
*
@@ -46,7 +46,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.90 2012/08/02 16:06:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coda_vnops.c,v 1.91 2013/10/17 20:55:30 christos Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -897,7 +897,6 @@ coda_lookup(void *v)
const char *nm = cnp->cn_nameptr;
int len = cnp->cn_namelen;
int flags = cnp->cn_flags;
- int isdot;
CodaFid VFid;
int vtype;
int error = 0;
@@ -937,13 +936,6 @@ coda_lookup(void *v)
}
/*
- * XXX Check for DOT lookups, and short circuit all the caches,
- * just doing an extra vref. (venus guarantees that lookup of
- * . returns self.)
- */
- isdot = (len == 1 && nm[0] == '.');
-
- /*
* Try to resolve the lookup in the minicache. If that fails, ask
* venus to do the lookup. XXX The interaction between vnode
* locking and any locking that coda does is not clear.