diff options
author | marius eriksen <marius@cvs.openbsd.org> | 2005-05-27 23:44:06 +0000 |
---|---|---|
committer | marius eriksen <marius@cvs.openbsd.org> | 2005-05-27 23:44:06 +0000 |
commit | 1de243e7059839cc216d5dc05198313a7b7f018f (patch) | |
tree | 4e54385041320801d7b77025b3d7d074ba93e097 | |
parent | 3a82762f3cb7a8fa7544c777cc2b5955bfeaee93 (diff) |
remove some dead code.
ok pedro@
-rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index 47880fd6935..4d3eeae1c1c 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vfs_syscalls.c,v 1.123 2005/05/27 20:20:23 pedro Exp $ */ +/* $OpenBSD: vfs_syscalls.c,v 1.124 2005/05/27 23:44:05 marius Exp $ */ /* $NetBSD: vfs_syscalls.c,v 1.71 1996/04/23 10:29:02 mycroft Exp $ */ /* @@ -2502,8 +2502,6 @@ sys_getdirentries(p, v, retval) VOP_UNLOCK(vp, 0, p); if (error) goto bad; - if (error) - goto bad; error = copyout(&loff, SCARG(uap, basep), sizeof(long)); *retval = SCARG(uap, count) - auio.uio_resid; |