network: remove unnecessary link->ifname from debug log statements

Since 98b0299479, we log the interface
name automatically via log_link_debug().

Fixes: https://github.com/systemd/systemd/issues/14782
This commit is contained in:
Mike Gilbert 2020-02-05 11:04:50 -05:00 committed by Chris Down
parent 28ca867abd
commit 6b2fd86fd1

View file

@ -45,7 +45,7 @@ static int link_push_uplink_dns_to_dhcp_server(Link *link, sd_dhcp_server *s) {
size_t n_addresses = 0, n_allocated = 0;
unsigned i;
log_link_debug(link, "Copying DNS server information from %s", link->ifname);
log_link_debug(link, "Copying DNS server information from link");
if (!link->network)
return 0;
@ -99,7 +99,7 @@ static int link_push_uplink_ntp_to_dhcp_server(Link *link, sd_dhcp_server *s) {
if (!link->network)
return 0;
log_link_debug(link, "Copying NTP server information from %s", link->ifname);
log_link_debug(link, "Copying NTP server information from link");
STRV_FOREACH(a, link->network->ntp) {
union in_addr_union ia;
@ -148,7 +148,7 @@ static int link_push_uplink_sip_to_dhcp_server(Link *link, sd_dhcp_server *s) {
if (!link->network)
return 0;
log_link_debug(link, "Copying SIP server information from %s", link->ifname);
log_link_debug(link, "Copying SIP server information from link");
STRV_FOREACH(a, link->network->sip) {
union in_addr_union ia;