diff options
| author | Alan Cox <alc@FreeBSD.org> | 2003-11-14 08:22:38 +0000 |
|---|---|---|
| committer | Alan Cox <alc@FreeBSD.org> | 2003-11-14 08:22:38 +0000 |
| commit | 6f8b4fc03a2b5d640d3709fbf00fa9437325571b (patch) | |
| tree | 7e8e75205eef12c61be8868453b64eabdbd54d70 /sys | |
| parent | 8a34b67a070119c09a6a7934f8f2d3d1a49a6f6a (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/vm/vm_mmap.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sys/vm/vm_mmap.c b/sys/vm/vm_mmap.c index 6356910e850d4..be2aad32c6965 100644 --- a/sys/vm/vm_mmap.c +++ b/sys/vm/vm_mmap.c @@ -615,21 +615,6 @@ munmap(td, uap) return (0); } -#if 0 -void -munmapfd(td, fd) - struct thread *td; - int fd; -{ - /* - * XXX should unmap any regions mapped to this file - */ - FILEDESC_LOCK(p->p_fd); - td->td_proc->p_fd->fd_ofileflags[fd] &= ~UF_MAPPED; - FILEDESC_UNLOCK(p->p_fd); -} -#endif - #ifndef _SYS_SYSPROTO_H_ struct mprotect_args { const void *addr; |
