From 641eff39911ac16bb2ad3783107bd9fce1d2ed0c Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 17 Oct 2013 20:55:30 +0000 Subject: [PATCH] remove unused code. --- sys/coda/coda_vnops.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/sys/coda/coda_vnops.c b/sys/coda/coda_vnops.c index 76dbe13260ce..62dfb322eaa1 100644 --- a/sys/coda/coda_vnops.c +++ b/sys/coda/coda_vnops.c @@ -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 -__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 #include @@ -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; @@ -936,13 +935,6 @@ coda_lookup(void *v) goto exit; } - /* - * 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