https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c6e9fea844acfb6ee84be…
commit c6e9fea844acfb6ee84be5e764272c7ba4faf25a
Author: Jérôme Gardou <jerome.gardou(a)reactos.org>
AuthorDate: Thu Jun 24 17:06:57 2021 +0200
Commit: Jérôme Gardou <zefklop(a)users.noreply.github.com>
CommitDate: Thu Jun 24 18:48:31 2021 +0200
[NTOSKRNL] Deduplicate some symbols
---
ntoskrnl/io/pnpmgr/pnpmgr.c | 1 -
ntoskrnl/ke/amd64/cpu.c | 4 ----
ntoskrnl/ke/amd64/stubs.c | 1 -
ntoskrnl/mm/ARM3/procsup.c | 1 -
4 files changed, 7 deletions(-)
diff --git a/ntoskrnl/io/pnpmgr/pnpmgr.c b/ntoskrnl/io/pnpmgr/pnpmgr.c
index d4f5cd97a19..fbbb8fa5e35 100644
--- a/ntoskrnl/io/pnpmgr/pnpmgr.c
+++ b/ntoskrnl/io/pnpmgr/pnpmgr.c
@@ -18,7 +18,6 @@
ERESOURCE PpRegistryDeviceResource;
KGUARDED_MUTEX PpDeviceReferenceTableLock;
RTL_AVL_TABLE PpDeviceReferenceTable;
-BOOLEAN PnPBootDriversLoaded;
extern ULONG ExpInitializationPhase;
diff --git a/ntoskrnl/ke/amd64/cpu.c b/ntoskrnl/ke/amd64/cpu.c
index 91ca92ac189..320e48bdd3b 100644
--- a/ntoskrnl/ke/amd64/cpu.c
+++ b/ntoskrnl/ke/amd64/cpu.c
@@ -27,10 +27,6 @@ ULONG KeLargestCacheLine = 0x40;
ULONG KiDmaIoCoherency = 0;
BOOLEAN KiSMTProcessorsPresent;
-/* Freeze data */
-KIRQL KiOldIrql;
-ULONG KiFreezeFlag;
-
/* Flush data */
volatile LONG KiTbFlushTimeStamp;
diff --git a/ntoskrnl/ke/amd64/stubs.c b/ntoskrnl/ke/amd64/stubs.c
index 21d9b20b920..0683ce73aa4 100644
--- a/ntoskrnl/ke/amd64/stubs.c
+++ b/ntoskrnl/ke/amd64/stubs.c
@@ -14,7 +14,6 @@
#include <debug.h>
ULONG ProcessCount;
-BOOLEAN CcPfEnablePrefetcher;
SIZE_T KeXStateLength = sizeof(XSAVE_FORMAT);
VOID
diff --git a/ntoskrnl/mm/ARM3/procsup.c b/ntoskrnl/mm/ARM3/procsup.c
index 0d46aa9c05f..5924aa067f8 100644
--- a/ntoskrnl/mm/ARM3/procsup.c
+++ b/ntoskrnl/mm/ARM3/procsup.c
@@ -18,7 +18,6 @@
/* GLOBALS ********************************************************************/
ULONG MmProcessColorSeed = 0x12345678;
-PMMWSL MmWorkingSetList;
ULONG MmMaximumDeadKernelStacks = 5;
SLIST_HEADER MmDeadStackSListHead;