diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-11 07:44:08 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-12-11 07:44:08 +0100 |
commit | cfe69f962be7295a8e4589620677e816872c2a3d (patch) | |
tree | d0b5e723ec075431582ef59c58ea5d8aab2a2165 /src/network | |
parent | network: adjust log message (diff) | |
download | systemd-cfe69f962be7295a8e4589620677e816872c2a3d.tar.xz systemd-cfe69f962be7295a8e4589620677e816872c2a3d.zip |
network: drop unused Manager.routes_foreign
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/networkd-manager.c | 1 | ||||
-rw-r--r-- | src/network/networkd-manager.h | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c index bdf6088f2f..fca5d76618 100644 --- a/src/network/networkd-manager.c +++ b/src/network/networkd-manager.c @@ -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); diff --git a/src/network/networkd-manager.h b/src/network/networkd-manager.h index 65bd5073a5..fbef5289d2 100644 --- a/src/network/networkd-manager.h +++ b/src/network/networkd-manager.h @@ -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; |