1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-26 03:22:00 +03:00

network: drop unused Manager.routes_foreign

This commit is contained in:
Yu Watanabe 2023-12-11 15:44:08 +09:00
parent e924dc598e
commit cfe69f962b
2 changed files with 0 additions and 2 deletions

View File

@ -647,7 +647,6 @@ Manager* manager_free(Manager *m) {
* by the upstream link. And the links may be referenced by netlink slots. Hence, two
* set_free() must be called after the above sd_netlink_unref(). */
m->routes = set_free(m->routes);
m->routes_foreign = set_free(m->routes_foreign);
m->nexthops = set_free(m->nexthops);
m->nexthops_by_id = hashmap_free(m->nexthops_by_id);

View File

@ -79,7 +79,6 @@ struct Manager {
/* Manager stores routes without RTA_OIF attribute. */
unsigned route_remove_messages;
Set *routes;
Set *routes_foreign;
/* Route table name */
Hashmap *route_table_numbers_by_name;