mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-05 07:41:01 +00:00
Kernel: Remove type from StorageDevice class
This commit is contained in:
parent
9b75b1be5f
commit
a73bd0fff8
Notes:
sideshowbarker
2024-07-18 20:25:08 +09:00
Author: https://github.com/boricj
Commit: a73bd0fff8
Pull-request: https://github.com/SerenityOS/serenity/pull/6295
14 changed files with 1 additions and 47 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue