]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolve: drop redundant call of link_allocate_scopes() and link_add_rrs()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 20 Jan 2022 19:46:14 +0000 (04:46 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 20 Jan 2022 19:46:20 +0000 (04:46 +0900)
commit605bb1634ba6929474e67a200acd8214e148b5e4
tree3c65c82c1ff5a2cb193a46d7bcbecd5c6a3af359
parent8827f4106bb3296323de38cb5e6b065646d5b0ee
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.
src/resolve/resolved-link.c