bootspec: remove now-unused boot_entry_type_table
This commit is contained in:
parent
ce4c4f8108
commit
7f42be65b9
|
@ -1423,11 +1423,3 @@ found:
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char* const boot_entry_type_table[_BOOT_ENTRY_MAX] = {
|
|
||||||
[BOOT_ENTRY_CONF] = "conf",
|
|
||||||
[BOOT_ENTRY_UNIFIED] = "unified",
|
|
||||||
[BOOT_ENTRY_LOADER] = "loader",
|
|
||||||
};
|
|
||||||
|
|
||||||
DEFINE_STRING_TABLE_LOOKUP(boot_entry_type, BootEntryType);
|
|
||||||
|
|
|
@ -79,6 +79,3 @@ static inline const char* boot_entry_title(const BootEntry *entry) {
|
||||||
|
|
||||||
int find_esp_and_warn(const char *path, bool unprivileged_mode, char **ret_path, uint32_t *ret_part, uint64_t *ret_pstart, uint64_t *ret_psize, sd_id128_t *ret_uuid);
|
int find_esp_and_warn(const char *path, bool unprivileged_mode, char **ret_path, uint32_t *ret_part, uint64_t *ret_pstart, uint64_t *ret_psize, sd_id128_t *ret_uuid);
|
||||||
int find_xbootldr_and_warn(const char *path, bool unprivileged_mode, char **ret_path,sd_id128_t *ret_uuid);
|
int find_xbootldr_and_warn(const char *path, bool unprivileged_mode, char **ret_path,sd_id128_t *ret_uuid);
|
||||||
|
|
||||||
const char* boot_entry_type_to_string(BootEntryType t) _const_;
|
|
||||||
BootEntryType boot_entry_type_from_string(const char *s) _pure_;
|
|
||||||
|
|
Loading…
Reference in New Issue