From c3ec5d801c87f8d417e1703bdc19bdfd21959187 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Fri, 23 Oct 2020 14:42:02 +0200 Subject: [PATCH] [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