diff options
author | Andreas Kling <kling@serenityos.org> | 2021-04-07 15:45:48 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-04-07 22:47:22 +0200 |
commit | a6ec6b831bea32a05e87165a0b45dca85864813b (patch) | |
tree | 494291ea1b57316a1e19e3d89dfcbc41fa02a002 /Kernel/Devices/USB | |
parent | af39d5d146f96446f2f3f15929f21cf4fa809fb0 (diff) | |
download | serenity-a6ec6b831bea32a05e87165a0b45dca85864813b.zip |
Kernel: Remove unused UHCI_ENABLED flag
Diffstat (limited to 'Kernel/Devices/USB')
-rw-r--r-- | Kernel/Devices/USB/UHCIController.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/Devices/USB/UHCIController.cpp b/Kernel/Devices/USB/UHCIController.cpp index f6e490ba43..235d1ec4f5 100644 --- a/Kernel/Devices/USB/UHCIController.cpp +++ b/Kernel/Devices/USB/UHCIController.cpp @@ -35,7 +35,6 @@ #include <Kernel/VM/AnonymousVMObject.h> #include <Kernel/VM/MemoryManager.h> -#define UHCI_ENABLED 1 static constexpr u8 MAXIMUM_NUMBER_OF_TDS = 128; // Upper pool limit. This consumes the second page we have allocated static constexpr u8 MAXIMUM_NUMBER_OF_QHS = 64; @@ -90,9 +89,6 @@ UHCIController& UHCIController::the() UNMAP_AFTER_INIT void UHCIController::detect() { -#if !UHCI_ENABLED - return; -#endif PCI::enumerate([&](const PCI::Address& address, PCI::ID id) { if (address.is_null()) return; |