Kernel/Storage: Remove 3 stale methods in AHCIPortHandler class

This commit is contained in:
Liav A 2022-04-01 22:48:43 +03:00 committed by Idan Horowitz
parent 9416dede54
commit 4169ac4a7b
Notes: sideshowbarker 2024-07-17 09:38:01 +09:00

View file

@ -34,7 +34,6 @@ public:
static ErrorOr<NonnullRefPtr<AHCIPortHandler>> create(AHCIController&, u8 irq, AHCI::MaskedBitField taken_ports);
virtual ~AHCIPortHandler() override;
RefPtr<StorageDevice> device_at_port(size_t port_index) const;
virtual StringView purpose() const override { return "SATA Port Handler"sv; }
AHCI::HBADefinedCapabilities hba_capabilities() const;
@ -58,9 +57,6 @@ private:
AHCI::MaskedBitField create_pending_ports_interrupts_bitfield() const;
void start_request(AsyncBlockDeviceRequest&, bool, bool, u16);
void complete_current_request(AsyncDeviceRequest::RequestResult);
void enumerate_ports(Function<void(AHCIPort const&)> callback) const;
RefPtr<AHCIPort> port_at_index(u32 port_index) const;