From 77976a6877d9b115814ddff19cd4cdbf8ca91848 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 14 Jul 2021 15:47:40 +0900 Subject: network: further unification of MUD url parsers Follow-up for 89fa9a6b7b2505aa2ce18febf1e28e79510dfec2. --- src/network/networkd-lldp-tx.c | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/network/networkd-lldp-tx.c') diff --git a/src/network/networkd-lldp-tx.c b/src/network/networkd-lldp-tx.c index e6e0b5ee54..061059558e 100644 --- a/src/network/networkd-lldp-tx.c +++ b/src/network/networkd-lldp-tx.c @@ -414,26 +414,6 @@ void link_lldp_emit_stop(Link *link) { link->lldp_emit_event_source = sd_event_source_unref(link->lldp_emit_event_source); } -int config_parse_lldp_mud( - const char *unit, - const char *filename, - unsigned line, - const char *section, - unsigned section_line, - const char *lvalue, - int ltype, - const char *rvalue, - void *data, - void *userdata) { - - Network *network = data; - - assert(network); - - return config_parse_mud_url(unit, filename, line, section, section_line, lvalue, ltype, rvalue, - &network->lldp_mud); -} - static const char * const lldp_emit_table[_LLDP_EMIT_MAX] = { [LLDP_EMIT_NO] = "no", [LLDP_EMIT_NEAREST_BRIDGE] = "nearest-bridge", -- cgit v1.2.1