1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 22:08:10 +00:00

Kernel/Storage: Remove InterfaceType enum

This enum was created to help put distinction between the commandset and
the interface type, as ATAPI devices are simply ATA devices utilizing
the SCSI commandset. Because we don't support ATAPI, putting such type
of distinction is pointless, so let's remove this for now.
This commit is contained in:
Liav A 2022-08-05 13:36:10 +03:00 committed by Linus Groh
parent c85f81bc9d
commit c3eaa73113
8 changed files with 5 additions and 41 deletions

View file

@ -32,7 +32,6 @@ private:
// ^StorageDevice
virtual CommandSet command_set() const override { return CommandSet::PlainMemory; }
virtual InterfaceType interface_type() const override { return InterfaceType::PlainMemory; }
Mutex m_lock { "RamdiskDevice"sv };