summaryrefslogtreecommitdiff
path: root/Kernel/Devices
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2023-01-02 16:57:12 +0100
committerTim Flynn <trflynn89@pm.me>2023-01-02 20:27:20 -0500
commitc2a900b8535df96c931b1c2b93765f5bca468fd7 (patch)
treec7f38ff230e4fd6d92d7e205f8bf37557b16e611 /Kernel/Devices
parent0bde4e66fade79a437eb1c718458cd33a83759c0 (diff)
downloadserenity-c2a900b8535df96c931b1c2b93765f5bca468fd7.zip
Everywhere: Remove unused includes of AK/StdLibExtras.h
These instances were detected by searching for files that include AK/StdLibExtras.h, but don't match the regex: \\b(abs|AK_REPLACED_STD_NAMESPACE|array_size|ceil_div|clamp|exchange|for ward|is_constant_evaluated|is_power_of_two|max|min|mix|move|_RawPtr|RawP tr|round_up_to_power_of_two|swap|to_underlying)\\b (Without the linebreaks.) This regex is pessimistic, so there might be more files that don't actually use any "extra stdlib" functions. 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/Devices')
-rw-r--r--Kernel/Devices/MemoryDevice.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Kernel/Devices/MemoryDevice.cpp b/Kernel/Devices/MemoryDevice.cpp
index 73cb912be8..454bd28615 100644
--- a/Kernel/Devices/MemoryDevice.cpp
+++ b/Kernel/Devices/MemoryDevice.cpp
@@ -5,7 +5,6 @@
*/
#include <AK/Memory.h>
-#include <AK/StdLibExtras.h>
#include <Kernel/Devices/DeviceManagement.h>
#include <Kernel/Devices/MemoryDevice.h>
#include <Kernel/Memory/AnonymousVMObject.h>