summaryrefslogtreecommitdiff
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:49:49 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-27 04:49:49 +0000
commitb61e35faf27549918f1230cc2ce84736dd843937 (patch)
tree30c8c327ade6c3964b6174515a7d4ac49fb5d480 /sys/kern/kern_descrip.c
parentedcf27d64733b7c58c5e752241e2f00119bdc747 (diff)
remove old vm
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 5add00e0b86..6b154784f43 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_descrip.c,v 1.31 2001/06/22 14:14:08 deraadt Exp $ */
+/* $OpenBSD: kern_descrip.c,v 1.32 2001/06/27 04:49:41 art Exp $ */
/* $NetBSD: kern_descrip.c,v 1.42 1996/03/30 22:24:38 christos Exp $ */
/*
@@ -463,15 +463,10 @@ fdrelease(p, fd)
if (fp == NULL)
return (EBADF);
pf = &fdp->fd_ofileflags[fd];
-#if defined(UVM)
if (*pf & UF_MAPPED) {
/* XXX: USELESS? XXXCDC check it */
p->p_fd->fd_ofileflags[fd] &= ~UF_MAPPED;
}
-#else
- if (*pf & UF_MAPPED)
- (void) munmapfd(p, fd);
-#endif
*fpp = NULL;
*pf = 0;
fd_unused(fdp, fd);