From 557351724addeff2e6b1ffe602ef2c94ffbbcc03 Mon Sep 17 00:00:00 2001 From: Liav A Date: Sat, 13 Nov 2021 14:00:45 +0200 Subject: Kernel/AHCI: Remove unnecessary AHCIPort class member --- Kernel/Storage/ATA/AHCIPort.cpp | 1 - Kernel/Storage/ATA/AHCIPort.h | 1 - 2 files changed, 2 deletions(-) (limited to 'Kernel/Storage') 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 m_dma_buffers; NonnullRefPtrVector m_command_table_pages; -- cgit v1.2.3