summaryrefslogtreecommitdiff
path: root/src/network/networkd-nexthop.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-29 17:37:56 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-10-07 02:39:51 +0900
commitb82663ddee4a4fb140cc53674242cdc334e30c1f (patch)
tree0e07493099277e63975bf890f4303f8ce7d77898 /src/network/networkd-nexthop.h
parent8d7b137a821b546d1af43875f7f86fb196c07fcb (diff)
downloadsystemd-b82663ddee4a4fb140cc53674242cdc334e30c1f.tar.gz
network: drop list of static nexthops
[NextHop] sections are managed by both LIST and Hashmap. Let's drop list, as they store the completely same information.
Diffstat (limited to 'src/network/networkd-nexthop.h')
-rw-r--r--src/network/networkd-nexthop.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-nexthop.h b/src/network/networkd-nexthop.h
index af6bf7b0c2..2ff8b4b81e 100644
--- a/src/network/networkd-nexthop.h
+++ b/src/network/networkd-nexthop.h
@@ -26,8 +26,6 @@ struct NextHop {
uint32_t id;
union in_addr_union gw;
-
- LIST_FIELDS(NextHop, nexthops);
};
void nexthop_free(NextHop *nexthop);