summaryrefslogtreecommitdiffstats
path: root/net/ipv4/fib_trie.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-07-12 18:39:28 +0200
committerDavid S. Miller <davem@davemloft.net>2012-07-12 18:39:28 +0200
commit391e5c22f5f4e55817f8ba18a08ea717ed2d4a1f (patch)
tree343c50c18d4997d8135a6b20c7be69eb16fd35e3 /net/ipv4/fib_trie.c
parentMerge branch 'for-davem' of git://gitorious.org/linux-can/linux-can-next (diff)
downloadlinux-391e5c22f5f4e55817f8ba18a08ea717ed2d4a1f.tar.xz
linux-391e5c22f5f4e55817f8ba18a08ea717ed2d4a1f.zip
ipv4: Remove tb_peers from fib_table.
No longer used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/fib_trie.c')
-rw-r--r--net/ipv4/fib_trie.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c
index 9b0f25930fbc..18cbc15b20d5 100644
--- a/net/ipv4/fib_trie.c
+++ b/net/ipv4/fib_trie.c
@@ -1843,8 +1843,6 @@ int fib_table_flush(struct fib_table *tb)
if (ll && hlist_empty(&ll->list))
trie_leaf_remove(t, ll);
- inetpeer_invalidate_tree(&tb->tb_peers);
-
pr_debug("trie_flush found=%d\n", found);
return found;
}
@@ -1993,7 +1991,6 @@ struct fib_table *fib_trie_table(u32 id)
tb->tb_id = id;
tb->tb_default = -1;
tb->tb_num_default = 0;
- inet_peer_base_init(&tb->tb_peers);
t = (struct trie *) tb->tb_data;
memset(t, 0, sizeof(*t));