diff options
author | Ben Wiederhake <BenWiederhake.GitHub@gmx.de> | 2023-01-02 16:57:12 +0100 |
---|---|---|
committer | Tim Flynn <trflynn89@pm.me> | 2023-01-02 20:27:20 -0500 |
commit | 143a64f9a2ef754d247e39414485a25829cfd67b (patch) | |
tree | 5b72fc41b4c26fcea2a41f33d37bcd6f51be0f21 /Kernel/Heap | |
parent | a6a439243f3101e5d2f75f54b8aa6bc4c8b2e323 (diff) | |
download | serenity-143a64f9a2ef754d247e39414485a25829cfd67b.zip |
Kernel: Remove unused includes of Kernel/Debug.h
These instances were detected by searching for files that include
Kernel/Debug.h, but don't match the regex:
\\bdbgln_if\(|_DEBUG\\b
This regex is pessimistic, so there might be more files that don't check
for any real *_DEBUG macro. There seem to be no corner cases anyway.
In theory, one might use LibCPP to detect things like this
automatically, but let's do this one step after another.
Diffstat (limited to 'Kernel/Heap')
-rw-r--r-- | Kernel/Heap/kmalloc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Heap/kmalloc.h b/Kernel/Heap/kmalloc.h index 7b5339c3c7..77c89fa486 100644 --- a/Kernel/Heap/kmalloc.h +++ b/Kernel/Heap/kmalloc.h @@ -7,7 +7,6 @@ #pragma once #include <AK/Types.h> -#include <Kernel/Debug.h> #include <LibC/limits.h> #define KMALLOC_SCRUB_BYTE 0xbb |