mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 11:09:18 +00:00
Kernel: Remove unused partition name API
I was about to convert this to use KString, but then I realized it wasn't actually used at all, so lets remove it until the day it is needed.
This commit is contained in:
parent
54a2aaaa6f
commit
40a58f1fd4
Notes:
sideshowbarker
2024-07-18 03:09:25 +09:00
Author: https://github.com/bgianfo
Commit: 40a58f1fd4
Pull-request: https://github.com/SerenityOS/serenity/pull/10325
Reviewed-by: https://github.com/BenWiederhake
3 changed files with 7 additions and 13 deletions
|
@ -33,14 +33,13 @@ private:
|
|||
public:
|
||||
DiskPartitionMetadata(u64 block_offset, u64 block_limit, u8 partition_type);
|
||||
DiskPartitionMetadata(u64 start_block, u64 end_block, Array<u8, 16> partition_type);
|
||||
DiskPartitionMetadata(u64 block_offset, u64 block_limit, Array<u8, 16> partition_type, UUID unique_guid, u64 special_attributes, String name);
|
||||
DiskPartitionMetadata(u64 block_offset, u64 block_limit, Array<u8, 16> partition_type, UUID unique_guid, u64 special_attributes);
|
||||
u64 start_block() const;
|
||||
u64 end_block() const;
|
||||
|
||||
DiskPartitionMetadata offset(u64 blocks_count) const;
|
||||
|
||||
Optional<u64> special_attributes() const;
|
||||
Optional<String> name() const;
|
||||
const PartitionType& type() const;
|
||||
const UUID& unique_guid() const;
|
||||
|
||||
|
@ -50,7 +49,6 @@ private:
|
|||
PartitionType m_type;
|
||||
UUID m_unique_guid {};
|
||||
u64 m_attributes { 0 };
|
||||
String m_name;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue