summaryrefslogtreecommitdiffstats
path: root/src/network/networkd-dhcp6.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-05-17 09:32:46 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-05-19 03:38:57 +0200
commitf4cc13646fa135673efdf61b91c6ac54e7f36e84 (patch)
treeca83afa2da5d98cc4ba1423d71b7fb9b7dd19a42 /src/network/networkd-dhcp6.c
parentnetwork: dhcp4: re-request DHCP4 address and routes immediately (diff)
downloadsystemd-f4cc13646fa135673efdf61b91c6ac54e7f36e84.tar.xz
systemd-f4cc13646fa135673efdf61b91c6ac54e7f36e84.zip
network: drop unused "callback" arguments in route_remove() and address_remove()
Diffstat (limited to 'src/network/networkd-dhcp6.c')
-rw-r--r--src/network/networkd-dhcp6.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/network/networkd-dhcp6.c b/src/network/networkd-dhcp6.c
index e8c7d8ebd8..7a2e7c106c 100644
--- a/src/network/networkd-dhcp6.c
+++ b/src/network/networkd-dhcp6.c
@@ -170,7 +170,7 @@ static int dhcp6_pd_remove_old(Link *link, bool force) {
log_link_debug(link, "Removing old DHCPv6 Prefix Delegation addresses and routes.");
SET_FOREACH(route, link->dhcp6_pd_routes_old) {
- k = route_remove(route, NULL, link, NULL);
+ k = route_remove(route, NULL, link);
if (k < 0)
r = k;
@@ -180,7 +180,7 @@ static int dhcp6_pd_remove_old(Link *link, bool force) {
}
SET_FOREACH(address, link->dhcp6_pd_addresses_old) {
- k = address_remove(address, link, NULL);
+ k = address_remove(address, link);
if (k < 0)
r = k;
}
@@ -212,7 +212,7 @@ int dhcp6_pd_remove(Link *link) {
log_link_debug(link, "Removing DHCPv6 Prefix Delegation addresses and routes.");
SET_FOREACH(route, link->dhcp6_pd_routes) {
- k = route_remove(route, NULL, link, NULL);
+ k = route_remove(route, NULL, link);
if (k < 0)
r = k;
@@ -222,7 +222,7 @@ int dhcp6_pd_remove(Link *link) {
}
SET_FOREACH(address, link->dhcp6_pd_addresses) {
- k = address_remove(address, link, NULL);
+ k = address_remove(address, link);
if (k < 0)
r = k;
}
@@ -761,13 +761,13 @@ static int dhcp6_remove_old(Link *link, bool force) {
log_link_debug(link, "Removing old DHCPv6 addresses and routes.");
SET_FOREACH(route, link->dhcp6_routes_old) {
- k = route_remove(route, NULL, link, NULL);
+ k = route_remove(route, NULL, link);
if (k < 0)
r = k;
}
SET_FOREACH(address, link->dhcp6_addresses_old) {
- k = address_remove(address, link, NULL);
+ k = address_remove(address, link);
if (k < 0)
r = k;
}
@@ -795,13 +795,13 @@ static int dhcp6_remove(Link *link) {
log_link_debug(link, "Removing DHCPv6 addresses and routes.");
SET_FOREACH(route, link->dhcp6_routes) {
- k = route_remove(route, NULL, link, NULL);
+ k = route_remove(route, NULL, link);
if (k < 0)
r = k;
}
SET_FOREACH(address, link->dhcp6_addresses) {
- k = address_remove(address, link, NULL);
+ k = address_remove(address, link);
if (k < 0)
r = k;
}