]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: get rid of DUID_TYPE_RAW 3156/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 1 May 2016 04:59:49 +0000 (00:59 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 3 May 2016 16:26:43 +0000 (12:26 -0400)
It wasn't used for anything after the recent changes.

src/libsystemd-network/dhcp-identifier.h
src/network/networkd-conf.c

index dd0f926f90cb3a0a3bae56cfa5c2953da59e24ff..1cc0f9fb711057abc0cd9634cdd05109191b8361 100644 (file)
@@ -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,
index 1b2047f8f4aa749bcefe2ac24b9bf398982c16a9..6072c1e2deff3a4268a73a37a777655d49381502 100644 (file)
@@ -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",