diff options
Diffstat (limited to 'src/hostname/hostnamed.c')
-rw-r--r-- | src/hostname/hostnamed.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c index d7e3e4e692..3d7f302435 100644 --- a/src/hostname/hostnamed.c +++ b/src/hostname/hostnamed.c @@ -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, |