summaryrefslogtreecommitdiff
path: root/mach-defpager
diff options
context:
space:
mode:
Diffstat (limited to 'mach-defpager')
-rw-r--r--mach-defpager/default_pager.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index e38dbb2b..cd0f6e30 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -1125,7 +1125,6 @@ pager_truncate(dpager_t pager, vm_size_t new_size) /* in pages */
const dp_map_t mapptr = pager->map[0].indirect;
kfree((char *)pager->map, INDIRECT_PAGEMAP_SIZE(old_size));
pager->map = mapptr;
- old_size = PAGEMAP_ENTRIES;
}
}