diff options
author | Liav A <liavalb@gmail.com> | 2021-11-13 14:00:45 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-11-13 23:35:27 +0100 |
commit | 557351724addeff2e6b1ffe602ef2c94ffbbcc03 (patch) | |
tree | 8ad62b2a013dbd670f2f3ab66bc1bc7cb52a5d87 /Kernel/Storage | |
parent | 2e8330f78cf64fd30401f23b4552e1a3adeb770c (diff) | |
download | serenity-557351724addeff2e6b1ffe602ef2c94ffbbcc03.zip |
Kernel/AHCI: Remove unnecessary AHCIPort class member
Diffstat (limited to 'Kernel/Storage')
-rw-r--r-- | Kernel/Storage/ATA/AHCIPort.cpp | 1 | ||||
-rw-r--r-- | Kernel/Storage/ATA/AHCIPort.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Kernel/Storage/ATA/AHCIPort.cpp b/Kernel/Storage/ATA/AHCIPort.cpp index 7e8ddca756..eed1a075fe 100644 --- a/Kernel/Storage/ATA/AHCIPort.cpp +++ b/Kernel/Storage/ATA/AHCIPort.cpp @@ -89,7 +89,6 @@ void AHCIPort::handle_interrupt() } if (m_interrupt_status.is_set(AHCI::PortInterruptFlag::PRC)) { clear_sata_error_register(); - m_wait_connect_for_completion = true; } if (m_interrupt_status.is_set(AHCI::PortInterruptFlag::INF)) { // We need to defer the reset, because we can receive interrupts when diff --git a/Kernel/Storage/ATA/AHCIPort.h b/Kernel/Storage/ATA/AHCIPort.h index 669d36f27a..78dd5a91e9 100644 --- a/Kernel/Storage/ATA/AHCIPort.h +++ b/Kernel/Storage/ATA/AHCIPort.h @@ -107,7 +107,6 @@ private: Mutex m_lock { "AHCIPort" }; mutable bool m_wait_for_completion { false }; - bool m_wait_connect_for_completion { false }; NonnullRefPtrVector<Memory::PhysicalPage> m_dma_buffers; NonnullRefPtrVector<Memory::PhysicalPage> m_command_table_pages; |