1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 14:07:46 +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

@ -36,12 +36,6 @@ namespace Kernel {
class PartitionTable {
public:
enum class Type {
MBR,
EBR,
GPT,
BSD
};
enum class Error {
Invalid,
MBRProtective,
@ -51,7 +45,6 @@ public:
public:
Optional<DiskPartitionMetadata> partition(unsigned index);
size_t partitions_count() const { return m_partitions.size(); }
virtual Type type() const = 0;
virtual ~PartitionTable() = default;
virtual bool is_valid() const = 0;