summaryrefslogtreecommitdiff
path: root/src/shared/discover-image.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-04-08 21:27:48 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-04-11 05:20:15 +0900
commitc2cd950817b50121f1d06bc83d7f459a1c283a72 (patch)
tree880a149e160190b8d40349257d918139e8f712f7 /src/shared/discover-image.c
parent1dec1c6163f590ef3c95986543772468e96439c1 (diff)
downloadsystemd-c2cd950817b50121f1d06bc83d7f459a1c283a72.tar.gz
os-util: move declaration of string table lookup for image class
Diffstat (limited to 'src/shared/discover-image.c')
-rw-r--r--src/shared/discover-image.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/shared/discover-image.c b/src/shared/discover-image.c
index 0343d2e20b..d0b3245a27 100644
--- a/src/shared/discover-image.c
+++ b/src/shared/discover-image.c
@@ -1326,12 +1326,3 @@ static const char* const image_type_table[_IMAGE_TYPE_MAX] = {
};
DEFINE_STRING_TABLE_LOOKUP(image_type, ImageType);
-
-static const char* const image_class_table[_IMAGE_CLASS_MAX] = {
- [IMAGE_MACHINE] = "machine",
- [IMAGE_PORTABLE] = "portable",
- [IMAGE_SYSEXT] = "extension",
- [IMAGE_CONFEXT] = "confext"
-};
-
-DEFINE_STRING_TABLE_LOOKUP(image_class, ImageClass);