mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
network: shorten code a bit
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user