diff options
author | Tom Gundersen <teg@jklm.no> | 2014-07-25 01:28:39 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-07-25 02:12:00 +0200 |
commit | 3c072310d515dd7ab4d553001ed3eb34b8090002 (patch) | |
tree | 84d312e4c10c3f7b7a9d7ddf576ab813442b6563 | |
parent | 2e5b17d01347d3c3118be2b8ad63d20415dbb1f0 (diff) |
networkd: ipv4ll - drop unnecessary get_address()
-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); |