https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c3ec5d801c87f8d417e17…
commit c3ec5d801c87f8d417e1703bdc19bdfd21959187
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Fri Oct 23 14:42:02 2020 +0200
Commit: Jérôme Gardou <jerome.gardou(a)reactos.org>
CommitDate: Wed Feb 3 09:41:21 2021 +0100
[NTOSKRNL] Disable more unused code
---
ntoskrnl/cache/section/data.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ntoskrnl/cache/section/data.c b/ntoskrnl/cache/section/data.c
index b7649dd1f62..cd92979ac1c 100644
--- a/ntoskrnl/cache/section/data.c
+++ b/ntoskrnl/cache/section/data.c
@@ -755,6 +755,7 @@ MmUnmapViewOfCacheSegment(PMMSUPPORT AddressSpace,
return STATUS_SUCCESS;
}
+#ifdef NEWCC
NTSTATUS
NTAPI
MmExtendCacheSection(PROS_SECTION_OBJECT Section,
@@ -792,6 +793,7 @@ MmExtendCacheSection(PROS_SECTION_OBJECT Section,
MmUnlockSectionSegment(Segment);
return STATUS_SUCCESS;
}
+#endif
NTSTATUS
NTAPI