summaryrefslogtreecommitdiffstats
path: root/sys/miscfs
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1997-08-27 02:58:40 +0000
committerjulian <julian@FreeBSD.org>1997-08-27 02:58:40 +0000
commit03fbc0db6781dbdf0c9099dbbea52c087b2a97e6 (patch)
tree6ae03bed72969b3a482cfcdfb1d1b9d46c0f21e1 /sys/miscfs
parent7b68941df91c2812fac796dd334e7a9c3cf19629 (diff)
downloadFreeBSD-src-03fbc0db6781dbdf0c9099dbbea52c087b2a97e6.zip
FreeBSD-src-03fbc0db6781dbdf0c9099dbbea52c087b2a97e6.tar.gz
remove un-needed if statement (now the poul removed the 'then' clause)
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/devfs/devfs_vnops.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/miscfs/devfs/devfs_vnops.c b/sys/miscfs/devfs/devfs_vnops.c
index f02df59..73d6ff5 100644
--- a/sys/miscfs/devfs/devfs_vnops.c
+++ b/sys/miscfs/devfs/devfs_vnops.c
@@ -1,7 +1,7 @@
/*
* Written by Julian Elischer (julian@DIALix.oz.au)
*
- * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.36 1997/04/10 15:05:38 bde Exp $
+ * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_vnops.c,v 1.37 1997/08/25 20:31:00 phk Exp $
*
* symlinks can wait 'til later.
*/
@@ -133,13 +133,6 @@ DBPRINT(("lookup\n"));
* allowing file to be created.
*/
if (!(flags & ISLASTCN) || !(op == CREATE || op == RENAME)) {
-
- /*
- * Insert name into cache
- * (as non-existent) if appropriate.
- */
- if ((cnp->cn_flags & MAKEENTRY) && op != CREATE)
-DBPRINT(("NOT\n"));
return ENOENT;
}
/*
OpenPOWER on IntegriCloud