summaryrefslogtreecommitdiff
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 252695edd17..c0c3aa26f26 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_descrip.c,v 1.36 2001/10/01 16:55:57 gluk Exp $ */
+/* $OpenBSD: kern_descrip.c,v 1.37 2001/10/07 22:42:07 art Exp $ */
/* $NetBSD: kern_descrip.c,v 1.42 1996/03/30 22:24:38 christos Exp $ */
/*
@@ -469,10 +469,6 @@ fdrelease(p, fd)
if (fp == NULL)
return (EBADF);
pf = &fdp->fd_ofileflags[fd];
- if (*pf & UF_MAPPED) {
- /* XXX: USELESS? XXXCDC check it */
- p->p_fd->fd_ofileflags[fd] &= ~UF_MAPPED;
- }
*fpp = NULL;
*pf = 0;
fd_unused(fdp, fd);