summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-07-11 11:45:58 -0700
committerAndreas Kling <kling@serenityos.org>2021-07-11 21:37:38 +0200
commit661809408eed70b5247a32e37995c08b609e2bdd (patch)
treee9ca74d61bcf93a3fa274789c5adde5c63cd6cff
parentabe72ede7ae8114724b48750806c9e37cfdf9cd7 (diff)
downloadserenity-661809408eed70b5247a32e37995c08b609e2bdd.zip
Kernel: Remove unused header includes in Heap subtree
-rw-r--r--Kernel/Heap/SlabAllocator.cpp1
-rw-r--r--Kernel/Heap/kmalloc.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/Kernel/Heap/SlabAllocator.cpp b/Kernel/Heap/SlabAllocator.cpp
index 7e768eef9e..a7a19de3c2 100644
--- a/Kernel/Heap/SlabAllocator.cpp
+++ b/Kernel/Heap/SlabAllocator.cpp
@@ -9,7 +9,6 @@
#include <Kernel/Heap/SlabAllocator.h>
#include <Kernel/Heap/kmalloc.h>
#include <Kernel/Sections.h>
-#include <Kernel/SpinLock.h>
#include <Kernel/VM/Region.h>
#define SANITIZE_SLABS
diff --git a/Kernel/Heap/kmalloc.cpp b/Kernel/Heap/kmalloc.cpp
index d0ccda22b2..2d9c808e8b 100644
--- a/Kernel/Heap/kmalloc.cpp
+++ b/Kernel/Heap/kmalloc.cpp
@@ -18,8 +18,6 @@
#include <Kernel/KSyms.h>
#include <Kernel/Panic.h>
#include <Kernel/PerformanceManager.h>
-#include <Kernel/Process.h>
-#include <Kernel/Scheduler.h>
#include <Kernel/Sections.h>
#include <Kernel/SpinLock.h>
#include <Kernel/StdLib.h>