summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1998-12-05 16:44:10 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>1998-12-05 16:44:10 +0000
commit65550f847eb22d7341ffc2e38f82b487376e0bcb (patch)
tree0697ea596dcf74d9e1c90d78f48487d9156a3c83
parent4b2be5b6d68babace414df59ba7cccd5b2b0a542 (diff)
Dead code elimination
-rw-r--r--sys/kern/vfs_vnops.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/vfs_vnops.c b/sys/kern/vfs_vnops.c
index b0eb7368432..c53022d44f1 100644
--- a/sys/kern/vfs_vnops.c
+++ b/sys/kern/vfs_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_vnops.c,v 1.17 1998/08/06 19:34:29 csapuntz Exp $ */
+/* $OpenBSD: vfs_vnops.c,v 1.18 1998/12/05 16:44:09 csapuntz Exp $ */
/* $NetBSD: vfs_vnops.c,v 1.20 1996/02/04 02:18:41 christos Exp $ */
/*
@@ -463,7 +463,6 @@ vn_lock(vp, flags, p)
vp->v_flag |= VXWANT;
simple_unlock(&vp->v_interlock);
tsleep((caddr_t)vp, PINOD, "vn_lock", 0);
- error = ENOENT;
} else {
error = VOP_LOCK(vp, flags | LK_INTERLOCK | LK_CANRECURSE, p);
if (error == 0)