diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-10-07 22:42:08 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-10-07 22:42:08 +0000 |
commit | c8f4242d58aec2b46469a58c7773d387977b4c73 (patch) | |
tree | 653d40308bcc16e2f35fc33d8d40e2a76f7bbfb7 /sys/kern/kern_descrip.c | |
parent | c911c9c999094e2254de14817a86da3d7d17ffeb (diff) |
gc UF_MAPPED.
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r-- | sys/kern/kern_descrip.c | 6 |
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); |