diff options
Diffstat (limited to 'Kernel/Storage/ATA/AHCIController.cpp')
-rw-r--r-- | Kernel/Storage/ATA/AHCIController.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Kernel/Storage/ATA/AHCIController.cpp b/Kernel/Storage/ATA/AHCIController.cpp index 940f89a200..b505f40f5b 100644 --- a/Kernel/Storage/ATA/AHCIController.cpp +++ b/Kernel/Storage/ATA/AHCIController.cpp @@ -135,9 +135,7 @@ NonnullOwnPtr<Memory::Region> AHCIController::default_hba_region() const return MM.allocate_kernel_region(PhysicalAddress(PCI::get_BAR5(pci_address())).page_base(), Memory::page_round_up(sizeof(AHCI::HBA)).release_value_but_fixme_should_propagate_errors(), "AHCI HBA", Memory::Region::Access::ReadWrite).release_value(); } -AHCIController::~AHCIController() -{ -} +AHCIController::~AHCIController() = default; void AHCIController::initialize_hba(PCI::DeviceIdentifier const& pci_device_identifier) { |