diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/networkd-link.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 7e6bc7b1e9..c346df45a9 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -471,14 +471,6 @@ static int link_enter_set_routes(Link *link) { if (link->ipv4ll && !link->dhcp_lease) { _cleanup_route_free_ Route *route = NULL; - struct in_addr addr; - - r = sd_ipv4ll_get_address(link->ipv4ll, &addr); - if (r < 0 && r != -ENOENT) { - log_warning_link(link, "IPV4LL error: no address: %s", - strerror(-r)); - return r; - } if (r != -ENOENT) { r = route_new_dynamic(&route, RTPROT_STATIC); |