diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-17 16:32:46 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-05-19 10:38:57 +0900 |
commit | f4cc13646fa135673efdf61b91c6ac54e7f36e84 (patch) | |
tree | ca83afa2da5d98cc4ba1423d71b7fb9b7dd19a42 /src/network/networkd-ndisc.c | |
parent | 50b7477064e2d5653046efd2018f6a1f6f14b9c3 (diff) | |
download | systemd-f4cc13646fa135673efdf61b91c6ac54e7f36e84.tar.gz |
network: drop unused "callback" arguments in route_remove() and address_remove()
Diffstat (limited to 'src/network/networkd-ndisc.c')
-rw-r--r-- | src/network/networkd-ndisc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-ndisc.c b/src/network/networkd-ndisc.c index 56aa5ec8a7..d678d49bde 100644 --- a/src/network/networkd-ndisc.c +++ b/src/network/networkd-ndisc.c @@ -171,14 +171,14 @@ static int ndisc_remove_old_one(Link *link, const struct in6_addr *router, bool SET_FOREACH(na, link->ndisc_addresses) if (na->marked && in6_addr_equal(&na->router, router)) { - k = address_remove(na->address, link, NULL); + k = address_remove(na->address, link); if (k < 0) r = k; } SET_FOREACH(nr, link->ndisc_routes) if (nr->marked && in6_addr_equal(&nr->router, router)) { - k = route_remove(nr->route, NULL, link, NULL); + k = route_remove(nr->route, NULL, link); if (k < 0) r = k; } |