hostnamed: drop unused enums

This commit is contained in:
Lennart Poettering
2021-04-28 15:33:14 +02:00
parent f2a434a5b8
commit f8da67cdf2

View File

@@ -40,6 +40,8 @@
#define VALID_DEPLOYMENT_CHARS (DIGITS LETTERS "-.:")
/* Properties we cache are indexed by an enum, to make invalidation easy and systematic (as we can iterate
* through them all, and they are uniformly strings). */
enum {
/* Read from /etc/hostname */
PROP_STATIC_HOSTNAME,
@@ -51,9 +53,6 @@ enum {
PROP_DEPLOYMENT,
PROP_LOCATION,
PROP_HARDWARE_VENDOR,
PROP_HARDWARE_MODEL,
/* Read from /etc/os-release (or /usr/lib/os-release) */
PROP_OS_PRETTY_NAME,
PROP_OS_CPE_NAME,