summaryrefslogtreecommitdiff
path: root/src/network/networkd-route.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-10-02 10:41:55 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-07 02:44:43 +0900
commit2a54a0446b2ff2cd8f4fcded06fcc59602140079 (patch)
tree5afea7ad34ca59c57aa33582a8f9ed29f9774ebb /src/network/networkd-route.h
parent833f3663a07a868a023579801afb08522e3ecf79 (diff)
downloadsystemd-2a54a0446b2ff2cd8f4fcded06fcc59602140079.tar.gz
network: drop list of static routes
[Route] sections are managed by both LIST and Hashmap. Let's drop the list.
Diffstat (limited to 'src/network/networkd-route.h')
-rw-r--r--src/network/networkd-route.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-route.h b/src/network/networkd-route.h
index 7bbe16e7e0..676bea3d70 100644
--- a/src/network/networkd-route.h
+++ b/src/network/networkd-route.h
@@ -58,8 +58,6 @@ struct Route {
usec_t lifetime;
sd_event_source *expire;
-
- LIST_FIELDS(Route, routes);
};
void route_hash_func(const Route *route, struct siphash *state);