mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
Kernel: Remove type from StorageDevice class
This commit is contained in:
parent
9b75b1be5f
commit
a73bd0fff8
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