]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/netif-naming-scheme.c
test: make sure that the default naming scheme name maps back to itself
[thirdparty/systemd.git] / src / shared / netif-naming-scheme.c
index 7fe19d4877581b166af43542a68f22ff12b2b196..fbaf5c5a6081fe97b6bb74b7671115e6bef690ef 100644 (file)
@@ -6,13 +6,6 @@
 #include "string-util.h"
 #include "string-table.h"
 
-#ifdef _DEFAULT_NET_NAMING_SCHEME_TEST
-/* The primary purpose of this check is to verify that _DEFAULT_NET_NAMING_SCHEME_TEST
- * is a valid identifier. If an invalid name is given during configuration, this will
- * fail with a name error. */
-assert_cc(_DEFAULT_NET_NAMING_SCHEME_TEST >= 0);
-#endif
-
 static const NamingScheme naming_schemes[] = {
         { "v238", NAMING_V238 },
         { "v239", NAMING_V239 },