summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-07-11 11:45:35 -0700
committerAndreas Kling <kling@serenityos.org>2021-07-11 21:37:38 +0200
commitabe72ede7ae8114724b48750806c9e37cfdf9cd7 (patch)
tree7d8b66dc8b58c850510829eebd6548add48070d0
parent9814082b5e34a063e11e46440e1e2a610c1a6534 (diff)
downloadserenity-abe72ede7ae8114724b48750806c9e37cfdf9cd7.zip
Kernel: Remove unused header includes in Graphics subtree
-rw-r--r--Kernel/Graphics/BochsGraphicsAdapter.cpp5
-rw-r--r--Kernel/Graphics/FramebufferDevice.cpp2
-rw-r--r--Kernel/Graphics/GraphicsManagement.cpp4
-rw-r--r--Kernel/Graphics/VirtIOGPU/VirtIOGPU.cpp1
4 files changed, 0 insertions, 12 deletions
diff --git a/Kernel/Graphics/BochsGraphicsAdapter.cpp b/Kernel/Graphics/BochsGraphicsAdapter.cpp
index 10c179cbad..2f73eb5ceb 100644
--- a/Kernel/Graphics/BochsGraphicsAdapter.cpp
+++ b/Kernel/Graphics/BochsGraphicsAdapter.cpp
@@ -15,13 +15,8 @@
#include <Kernel/Graphics/Console/ContiguousFramebufferConsole.h>
#include <Kernel/Graphics/GraphicsManagement.h>
#include <Kernel/IO.h>
-#include <Kernel/Process.h>
#include <Kernel/Sections.h>
-#include <Kernel/VM/AnonymousVMObject.h>
-#include <Kernel/VM/MemoryManager.h>
#include <Kernel/VM/TypedMapping.h>
-#include <LibC/errno_numbers.h>
-#include <LibC/sys/ioctl_numbers.h>
namespace Kernel {
diff --git a/Kernel/Graphics/FramebufferDevice.cpp b/Kernel/Graphics/FramebufferDevice.cpp
index 752e8b7610..fad2e4e2c4 100644
--- a/Kernel/Graphics/FramebufferDevice.cpp
+++ b/Kernel/Graphics/FramebufferDevice.cpp
@@ -9,12 +9,10 @@
#include <Kernel/Debug.h>
#include <Kernel/Graphics/FramebufferDevice.h>
#include <Kernel/Graphics/GraphicsManagement.h>
-#include <Kernel/Panic.h>
#include <Kernel/Process.h>
#include <Kernel/Sections.h>
#include <Kernel/VM/AnonymousVMObject.h>
#include <Kernel/VM/MemoryManager.h>
-#include <Kernel/VM/TypedMapping.h>
#include <LibC/errno_numbers.h>
#include <LibC/sys/ioctl_numbers.h>
diff --git a/Kernel/Graphics/GraphicsManagement.cpp b/Kernel/Graphics/GraphicsManagement.cpp
index ebff52e06d..dfe59a31eb 100644
--- a/Kernel/Graphics/GraphicsManagement.cpp
+++ b/Kernel/Graphics/GraphicsManagement.cpp
@@ -4,20 +4,16 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
-#include <AK/Checked.h>
#include <AK/Singleton.h>
#include <Kernel/Bus/PCI/IDs.h>
#include <Kernel/CommandLine.h>
-#include <Kernel/Debug.h>
#include <Kernel/Graphics/BochsGraphicsAdapter.h>
-#include <Kernel/Graphics/Console/TextModeConsole.h>
#include <Kernel/Graphics/GraphicsManagement.h>
#include <Kernel/Graphics/Intel/NativeGraphicsAdapter.h>
#include <Kernel/Graphics/VGACompatibleAdapter.h>
#include <Kernel/Graphics/VirtIOGPU/VirtIOGraphicsAdapter.h>
#include <Kernel/IO.h>
#include <Kernel/Multiboot.h>
-#include <Kernel/Panic.h>
#include <Kernel/Sections.h>
#include <Kernel/VM/AnonymousVMObject.h>
diff --git a/Kernel/Graphics/VirtIOGPU/VirtIOGPU.cpp b/Kernel/Graphics/VirtIOGPU/VirtIOGPU.cpp
index b57c997389..be751f5a8a 100644
--- a/Kernel/Graphics/VirtIOGPU/VirtIOGPU.cpp
+++ b/Kernel/Graphics/VirtIOGPU/VirtIOGPU.cpp
@@ -7,7 +7,6 @@
#include <Kernel/Graphics/VirtIOGPU/VirtIOFrameBufferDevice.h>
#include <Kernel/Graphics/VirtIOGPU/VirtIOGPU.h>
#include <Kernel/Graphics/VirtIOGPU/VirtIOGPUConsole.h>
-#include <LibC/sys/ioctl_numbers.h>
#define DEVICE_EVENTS_READ 0x0
#define DEVICE_EVENTS_CLEAR 0x4