summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-01 00:59:49 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2016-05-03 12:26:43 -0400
commit7c285c74190e827c18a336f882cf4d9dcf4ee02a (patch)
tree687645780c494cd815b3b587027a17e785f92e89
parente2e08e77cc6b13cc8b3658ad504814834a0e9872 (diff)
network: get rid of DUID_TYPE_RAW
It wasn't used for anything after the recent changes.
-rw-r--r--src/libsystemd-network/dhcp-identifier.h1
-rw-r--r--src/network/networkd-conf.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd-network/dhcp-identifier.h b/src/libsystemd-network/dhcp-identifier.h
index dd0f926f90..1cc0f9fb71 100644
--- a/src/libsystemd-network/dhcp-identifier.h
+++ b/src/libsystemd-network/dhcp-identifier.h
@@ -26,7 +26,6 @@
#include "unaligned.h"
typedef enum DUIDType {
- DUID_TYPE_RAW = 0,
DUID_TYPE_LLT = 1,
DUID_TYPE_EN = 2,
DUID_TYPE_LL = 3,
diff --git a/src/network/networkd-conf.c b/src/network/networkd-conf.c
index 1b2047f8f4..6072c1e2de 100644
--- a/src/network/networkd-conf.c
+++ b/src/network/networkd-conf.c
@@ -37,7 +37,6 @@ int manager_parse_config_file(Manager *m) {
}
static const char* const duid_type_table[_DUID_TYPE_MAX] = {
- [DUID_TYPE_RAW] = "raw",
[DUID_TYPE_LLT] = "link-layer-time",
[DUID_TYPE_EN] = "vendor",
[DUID_TYPE_LL] = "link-layer",