diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c index b088b04da0..3bd14d7372 100644 --- a/src/shared/bootspec.c +++ b/src/shared/bootspec.c @@ -1423,11 +1423,3 @@ found: 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); diff --git a/src/shared/bootspec.h b/src/shared/bootspec.h index 45e1fc37c6..b35eaf1110 100644 --- a/src/shared/bootspec.h +++ b/src/shared/bootspec.h @@ -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_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_;