Remove some code from vmspace_fork() that became redundant after

revision 1.334 modified _vm_map_init() to initialize the new vm map's
flags to zero.
This commit is contained in:
Alan Cox 2007-04-26 05:48:17 +00:00
parent a1054d5776
commit 17afe8befe

View File

@ -2565,10 +2565,6 @@ vmspace_fork(struct vmspace *vm1)
new_map = &vm2->vm_map; /* XXX */
new_map->timestamp = 1;
/* Do not inherit the MAP_WIREFUTURE property. */
if ((new_map->flags & MAP_WIREFUTURE) == MAP_WIREFUTURE)
new_map->flags &= ~MAP_WIREFUTURE;
old_entry = old_map->header.next;
while (old_entry != &old_map->header) {