diff options
Diffstat (limited to 'libpager')
-rw-r--r-- | libpager/data-return.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libpager/data-return.c b/libpager/data-return.c index 5d64fe41..709f9de2 100644 --- a/libpager/data-return.c +++ b/libpager/data-return.c @@ -45,7 +45,6 @@ _pager_do_write_request (mach_port_t object, struct lock_list *next;} *lock_list, *ll; int wakeup; int omitdata = 0; - struct anticipation *ant; p = ports_lookup_port (0, object, _pager_class); if (!p) @@ -87,13 +86,6 @@ _pager_do_write_request (mach_port_t object, _pager_block_termination (p); /* until we are done with the pagemap when the write completes. */ - ant = _pager_check_anticitpations (p, length, offset); - if (ant) - { - vm_deallocate (mach_task_self (), ant->address, ant->length); - free (ant); - } - _pager_pagemap_resize (p, offset + length); pm_entries = &p->pagemap[offset / __vm_page_size]; |