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.
This commit is contained in:
Yu Watanabe
2022-01-21 04:46:20 +09:00
parent 8827f4106b
commit 605bb1634b
-3
View File
@@ -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;
}