Преглед на файлове

Kernel: Remove unused header includes in Devices subtree

Brian Gianforcaro преди 4 години
родител
ревизия
ea238e7ac3

+ 0 - 1
Kernel/Devices/Device.cpp

@@ -7,7 +7,6 @@
 #include <AK/Singleton.h>
 #include <AK/Singleton.h>
 #include <Kernel/Devices/Device.h>
 #include <Kernel/Devices/Device.h>
 #include <Kernel/FileSystem/InodeMetadata.h>
 #include <Kernel/FileSystem/InodeMetadata.h>
-#include <LibC/errno_numbers.h>
 
 
 namespace Kernel {
 namespace Kernel {
 
 

+ 0 - 2
Kernel/Devices/FullDevice.cpp

@@ -6,8 +6,6 @@
 
 
 #include "FullDevice.h"
 #include "FullDevice.h"
 #include <AK/Memory.h>
 #include <AK/Memory.h>
-#include <AK/StdLibExtras.h>
-#include <Kernel/Panic.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Sections.h>
 #include <LibC/errno_numbers.h>
 #include <LibC/errno_numbers.h>
 
 

+ 0 - 5
Kernel/Devices/HID/KeyboardDevice.cpp

@@ -7,13 +7,8 @@
  */
  */
 
 
 #include <AK/Assertions.h>
 #include <AK/Assertions.h>
-#include <AK/ByteBuffer.h>
-#include <AK/Singleton.h>
-#include <AK/StringView.h>
 #include <AK/Types.h>
 #include <AK/Types.h>
-#include <Kernel/Debug.h>
 #include <Kernel/Devices/HID/KeyboardDevice.h>
 #include <Kernel/Devices/HID/KeyboardDevice.h>
-#include <Kernel/IO.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Sections.h>
 #include <Kernel/TTY/VirtualConsole.h>
 #include <Kernel/TTY/VirtualConsole.h>
 #include <LibC/sys/ioctl_numbers.h>
 #include <LibC/sys/ioctl_numbers.h>

+ 0 - 2
Kernel/Devices/HID/PS2KeyboardDevice.cpp

@@ -5,10 +5,8 @@
  * SPDX-License-Identifier: BSD-2-Clause
  * SPDX-License-Identifier: BSD-2-Clause
  */
  */
 
 
-#include <AK/Assertions.h>
 #include <AK/ByteBuffer.h>
 #include <AK/ByteBuffer.h>
 #include <AK/Singleton.h>
 #include <AK/Singleton.h>
-#include <AK/StringView.h>
 #include <AK/Types.h>
 #include <AK/Types.h>
 #include <Kernel/Debug.h>
 #include <Kernel/Debug.h>
 #include <Kernel/Devices/HID/HIDManagement.h>
 #include <Kernel/Devices/HID/HIDManagement.h>

+ 0 - 1
Kernel/Devices/HID/PS2MouseDevice.cpp

@@ -5,7 +5,6 @@
  */
  */
 
 
 #include <AK/Memory.h>
 #include <AK/Memory.h>
-#include <AK/Singleton.h>
 #include <Kernel/Debug.h>
 #include <Kernel/Debug.h>
 #include <Kernel/Devices/HID/PS2MouseDevice.h>
 #include <Kernel/Devices/HID/PS2MouseDevice.h>
 #include <Kernel/Devices/VMWareBackdoor.h>
 #include <Kernel/Devices/VMWareBackdoor.h>

+ 0 - 2
Kernel/Devices/MemoryDevice.cpp

@@ -8,10 +8,8 @@
 #include <AK/Memory.h>
 #include <AK/Memory.h>
 #include <AK/StdLibExtras.h>
 #include <AK/StdLibExtras.h>
 #include <Kernel/Arch/PC/BIOS.h>
 #include <Kernel/Arch/PC/BIOS.h>
-#include <Kernel/Panic.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Sections.h>
 #include <Kernel/VM/AnonymousVMObject.h>
 #include <Kernel/VM/AnonymousVMObject.h>
-#include <Kernel/VM/TypedMapping.h>
 
 
 namespace Kernel {
 namespace Kernel {
 
 

+ 0 - 1
Kernel/Devices/NullDevice.cpp

@@ -5,7 +5,6 @@
  */
  */
 
 
 #include <AK/Singleton.h>
 #include <AK/Singleton.h>
-#include <AK/StdLibExtras.h>
 #include <Kernel/Devices/NullDevice.h>
 #include <Kernel/Devices/NullDevice.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Sections.h>
 
 

+ 0 - 1
Kernel/Devices/RandomDevice.cpp

@@ -5,7 +5,6 @@
  */
  */
 
 
 #include <Kernel/Devices/RandomDevice.h>
 #include <Kernel/Devices/RandomDevice.h>
-#include <Kernel/Panic.h>
 #include <Kernel/Random.h>
 #include <Kernel/Random.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Sections.h>
 
 

+ 0 - 1
Kernel/Devices/SerialDevice.cpp

@@ -7,7 +7,6 @@
 
 
 #include <Kernel/Devices/SerialDevice.h>
 #include <Kernel/Devices/SerialDevice.h>
 #include <Kernel/IO.h>
 #include <Kernel/IO.h>
-#include <Kernel/Panic.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Sections.h>
 
 
 namespace Kernel {
 namespace Kernel {

+ 0 - 2
Kernel/Devices/ZeroDevice.cpp

@@ -5,9 +5,7 @@
  */
  */
 
 
 #include <AK/Memory.h>
 #include <AK/Memory.h>
-#include <AK/StdLibExtras.h>
 #include <Kernel/Devices/ZeroDevice.h>
 #include <Kernel/Devices/ZeroDevice.h>
-#include <Kernel/Panic.h>
 #include <Kernel/Sections.h>
 #include <Kernel/Sections.h>
 
 
 namespace Kernel {
 namespace Kernel {