1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-11 20:58:27 +03:00

network: shorten code a bit

This commit is contained in:
Yu Watanabe 2024-07-31 03:55:37 +09:00
parent 36b8ad085c
commit ba7c4bd6f2

View File

@ -822,9 +822,6 @@ static int link_handle_bound_by_list(Link *link) {
/* Update up or down state of interfaces which depend on this interface's carrier state. */
if (hashmap_isempty(link->bound_by_links))
return 0;
HASHMAP_FOREACH(l, link->bound_by_links) {
r = link_handle_bound_to_list(l);
if (r < 0)