From ad7d4d9be163b1e7fa09c7cc268e55a35c684ef1 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Fri, 28 Jan 2022 15:55:55 +0200 Subject: [PATCH] Kernel: Rename UHCIController::{spawn_port_proc => spawn_port_process} There's no need to use this non-standard shorthand mnemonic. (This commit also removes the unimplemented do_debug_transfer while we're here.) --- Kernel/Bus/USB/UHCI/UHCIController.cpp | 4 ++-- Kernel/Bus/USB/UHCI/UHCIController.h | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Kernel/Bus/USB/UHCI/UHCIController.cpp b/Kernel/Bus/USB/UHCI/UHCIController.cpp index 06ec1ac5a6..e50f421d3b 100644 --- a/Kernel/Bus/USB/UHCI/UHCIController.cpp +++ b/Kernel/Bus/USB/UHCI/UHCIController.cpp @@ -76,7 +76,7 @@ ErrorOr UHCIController::initialize() dmesgln("UHCI: I/O base {}", m_io_base); dmesgln("UHCI: Interrupt line: {}", interrupt_number()); - spawn_port_proc(); + spawn_port_process(); TRY(reset()); return start(); @@ -464,7 +464,7 @@ size_t UHCIController::poll_transfer_queue(QueueHead& transfer_queue) return transfer_size; } -void UHCIController::spawn_port_proc() +void UHCIController::spawn_port_process() { RefPtr usb_hotplug_thread; diff --git a/Kernel/Bus/USB/UHCI/UHCIController.h b/Kernel/Bus/USB/UHCI/UHCIController.h index e3007763e6..6b800dceb0 100644 --- a/Kernel/Bus/USB/UHCI/UHCIController.h +++ b/Kernel/Bus/USB/UHCI/UHCIController.h @@ -42,9 +42,7 @@ public: virtual ErrorOr reset() override; virtual ErrorOr stop() override; virtual ErrorOr start() override; - void spawn_port_proc(); - - void do_debug_transfer(); + void spawn_port_process(); virtual ErrorOr submit_control_transfer(Transfer& transfer) override;