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:
Brian Gianforcaro 2021-10-02 16:39:33 -07:00 committed by Andreas Kling
parent 54a2aaaa6f
commit 40a58f1fd4
Notes: sideshowbarker 2024-07-18 03:09:25 +09:00
3 changed files with 7 additions and 13 deletions

View file

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