summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm/vm_resident.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/vm/vm_resident.c b/vm/vm_resident.c
index dc4388d..552b0d7 100644
--- a/vm/vm_resident.c
+++ b/vm/vm_resident.c
@@ -772,18 +772,10 @@ void vm_page_free(
if (mem->absent)
vm_object_absent_release(mem->object);
- /*
- * XXX The calls to vm_page_init here are
- * really overkill.
- */
-
if (mem->private || mem->fictitious) {
- vm_page_init(mem, vm_page_fictitious_addr);
- mem->fictitious = TRUE;
vm_page_release_fictitious(mem);
} else {
int external = mem->external && mem->extcounted;
- vm_page_init(mem, mem->phys_addr);
vm_page_release(mem, external);
}
}