1
Fork 0
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:
Jean-Baptiste Boric 2021-04-11 18:53:01 +02:00 committed by Andreas Kling
parent 9b75b1be5f
commit a73bd0fff8
14 changed files with 1 additions and 47 deletions

View file

@ -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;
}
}