mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 01:08:48 +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
|
@ -113,9 +113,8 @@ bool GUIDPartitionTable::initialize()
|
|||
|
||||
Array<u8, 16> unique_guid {};
|
||||
unique_guid.span().overwrite(0, entry.unique_guid, unique_guid.size());
|
||||
String name = entry.partition_name;
|
||||
dbgln("Detected GPT partition (entry={}), offset={}, limit={}", entry_index, entry.first_lba, entry.last_lba);
|
||||
m_partitions.append({ entry.first_lba, entry.last_lba, partition_type, unique_guid, entry.attributes, "" });
|
||||
m_partitions.append({ entry.first_lba, entry.last_lba, partition_type, unique_guid, entry.attributes });
|
||||
raw_byte_index += header().partition_entry_size;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue