summaryrefslogtreecommitdiffstats
path: root/src/shared/bootspec.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-04 22:23:26 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-05 13:50:45 +0200
commit7f42be65b94d284a604517b561ffa2e9a95707bf (patch)
tree569a8ffd8acbd63bcb8cb23819499dde770769ac /src/shared/bootspec.c
parentbootctl: replace "type" with "source" in output (diff)
downloadsystemd-7f42be65b94d284a604517b561ffa2e9a95707bf.tar.xz
systemd-7f42be65b94d284a604517b561ffa2e9a95707bf.zip
bootspec: remove now-unused boot_entry_type_table
Diffstat (limited to 'src/shared/bootspec.c')
-rw-r--r--src/shared/bootspec.c8
1 files changed, 0 insertions, 8 deletions
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);