diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-01-21 04:46:14 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-01-21 04:46:20 +0900 |
commit | 605bb1634ba6929474e67a200acd8214e148b5e4 (patch) | |
tree | 3c65c82c1ff5a2cb193a46d7bcbecd5c6a3af359 /src/resolve/resolved-link.c | |
parent | 8827f4106bb3296323de38cb5e6b065646d5b0ee (diff) | |
download | systemd-605bb1634ba6929474e67a200acd8214e148b5e4.tar.gz |
resolve: drop redundant call of link_allocate_scopes() and link_add_rrs()
In `manager_process_link()`, the function `link_update()` is called just
after `link_process_rtnl()`, and `link_update()` also calls
`link_allocate_scopes()` and `link_add_rrs()`. Hence, the calls in
`link_process_rtnl()` are redundant.
Diffstat (limited to 'src/resolve/resolved-link.c')
-rw-r--r-- | src/resolve/resolved-link.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/resolve/resolved-link.c b/src/resolve/resolved-link.c index 202e46ff50..344329f189 100644 --- a/src/resolve/resolved-link.c +++ b/src/resolve/resolved-link.c @@ -247,9 +247,6 @@ int link_process_rtnl(Link *l, sd_netlink_message *m) { return r; } - link_allocate_scopes(l); - link_add_rrs(l, false); - return 0; } |