summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-05-03 01:09:36 -0700
committerAndreas Kling <kling@serenityos.org>2021-05-03 16:03:17 +0200
commit4bf9b399f7c2d72728767e1628d55dc682a6952e (patch)
tree478ba4368b10a55b74b164f68da11c1ce4b08646
parent65138171f9f121089261862c0a720364e8dd278b (diff)
downloadserenity-4bf9b399f7c2d72728767e1628d55dc682a6952e.zip
Kernel: Remove unused header includes from various files.
Found while browsing code with CLion.
-rw-r--r--Kernel/Devices/VMWareBackdoor.cpp3
-rw-r--r--Kernel/Interrupts/APIC.cpp1
-rw-r--r--Kernel/Interrupts/IOAPIC.cpp2
-rw-r--r--Kernel/Interrupts/InterruptManagement.cpp2
4 files changed, 0 insertions, 8 deletions
diff --git a/Kernel/Devices/VMWareBackdoor.cpp b/Kernel/Devices/VMWareBackdoor.cpp
index 137747fcde..c2a54171b5 100644
--- a/Kernel/Devices/VMWareBackdoor.cpp
+++ b/Kernel/Devices/VMWareBackdoor.cpp
@@ -4,16 +4,13 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-#include <AK/Assertions.h>
#include <AK/OwnPtr.h>
#include <AK/Singleton.h>
-#include <AK/String.h>
#include <Kernel/API/MousePacket.h>
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/CommandLine.h>
#include <Kernel/Debug.h>
#include <Kernel/Devices/VMWareBackdoor.h>
-#include <Kernel/IO.h>
namespace Kernel {
diff --git a/Kernel/Interrupts/APIC.cpp b/Kernel/Interrupts/APIC.cpp
index baffaee5bb..9a74defcfe 100644
--- a/Kernel/Interrupts/APIC.cpp
+++ b/Kernel/Interrupts/APIC.cpp
@@ -7,7 +7,6 @@
#include <AK/Assertions.h>
#include <AK/Memory.h>
#include <AK/Singleton.h>
-#include <AK/StringView.h>
#include <AK/Types.h>
#include <Kernel/ACPI/Parser.h>
#include <Kernel/Arch/x86/CPU.h>
diff --git a/Kernel/Interrupts/IOAPIC.cpp b/Kernel/Interrupts/IOAPIC.cpp
index 72c58c064f..3cb49f3883 100644
--- a/Kernel/Interrupts/IOAPIC.cpp
+++ b/Kernel/Interrupts/IOAPIC.cpp
@@ -5,14 +5,12 @@
*/
#include <AK/Optional.h>
-#include <AK/StringView.h>
#include <Kernel/ACPI/MultiProcessorParser.h>
#include <Kernel/Arch/x86/CPU.h>
#include <Kernel/Debug.h>
#include <Kernel/Interrupts/APIC.h>
#include <Kernel/Interrupts/IOAPIC.h>
#include <Kernel/Interrupts/InterruptManagement.h>
-#include <Kernel/VM/MemoryManager.h>
#define IOAPIC_REDIRECTION_ENTRY_OFFSET 0x10
namespace Kernel {
diff --git a/Kernel/Interrupts/InterruptManagement.cpp b/Kernel/Interrupts/InterruptManagement.cpp
index 2a3a94d4dc..c4747bf873 100644
--- a/Kernel/Interrupts/InterruptManagement.cpp
+++ b/Kernel/Interrupts/InterruptManagement.cpp
@@ -4,7 +4,6 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-#include <AK/StringView.h>
#include <Kernel/ACPI/MultiProcessorParser.h>
#include <Kernel/API/Syscall.h>
#include <Kernel/Arch/x86/CPU.h>
@@ -16,7 +15,6 @@
#include <Kernel/Interrupts/PIC.h>
#include <Kernel/Interrupts/SpuriousInterruptHandler.h>
#include <Kernel/Interrupts/UnhandledInterruptHandler.h>
-#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/TypedMapping.h>
#define PCAT_COMPAT_FLAG 0x1