From c257a48ec6678ef9c9064ffeaa564f45a745381c Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Sun, 4 Mar 2012 22:45:46 +0000 Subject: [PATCH] [NTOSKRNL] - Kill this straggler from last commit svn path=/trunk/; revision=56020 --- reactos/ntoskrnl/cache/section/fault.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/reactos/ntoskrnl/cache/section/fault.c b/reactos/ntoskrnl/cache/section/fault.c index 4faddc88f7b..ad81792de42 100644 --- a/reactos/ntoskrnl/cache/section/fault.c +++ b/reactos/ntoskrnl/cache/section/fault.c @@ -142,13 +142,6 @@ MmNotPresentFaultCachePage { DPRINT("Set %x in address space @ %x\n", Required->Page[0], Address); Status = MmCreateVirtualMapping(Process, Address, Attributes, Required->Page, 1); -#if (_MI_PAGING_LEVELS == 2) - if (Address < MmSystemRangeStart) - { - Process->Vm.VmWorkingSetList->UsedPageTableEntries[MiGetPdeOffset(Address)]++; - ASSERT(Process->Vm.VmWorkingSetList->UsedPageTableEntries[MiGetPdeOffset(Address)] <= PTE_COUNT); - } -#endif if (NT_SUCCESS(Status)) { MmInsertRmap(Required->Page[0], Process, Address);