summaryrefslogtreecommitdiff
path: root/Kernel/Storage/StorageManagement.cpp
diff options
context:
space:
mode:
authorJean-Baptiste Boric <jblbeurope@gmail.com>2021-04-11 18:53:01 +0200
committerAndreas Kling <kling@serenityos.org>2021-04-13 21:52:34 +0200
commita73bd0fff8224fda5c8b365928663414be70da45 (patch)
treee5524ce53d7e634bcb5c933bf59e27da32a95a86 /Kernel/Storage/StorageManagement.cpp
parent9b75b1be5f6a8d72b846fe951a7378f4f16f25fc (diff)
downloadserenity-a73bd0fff8224fda5c8b365928663414be70da45.zip
Kernel: Remove type from StorageDevice class
Diffstat (limited to 'Kernel/Storage/StorageManagement.cpp')
-rw-r--r--Kernel/Storage/StorageManagement.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/Kernel/Storage/StorageManagement.cpp b/Kernel/Storage/StorageManagement.cpp
index e91620e2c6..c3307e62ab 100644
--- a/Kernel/Storage/StorageManagement.cpp
+++ b/Kernel/Storage/StorageManagement.cpp
@@ -225,13 +225,4 @@ StorageManagement& StorageManagement::the()
return *s_the;
}
-NonnullRefPtrVector<StorageController> StorageManagement::ide_controllers() const
-{
- NonnullRefPtrVector<StorageController> ide_controllers;
- for (auto& controller : m_controllers) {
- if (controller.type() == StorageController::Type::IDE)
- ide_controllers.append(controller);
- }
- return ide_controllers;
-}
}