diff options
author | David S. Miller <davem@davemloft.net> | 2012-07-12 12:39:28 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-07-12 12:39:28 -0400 |
commit | 391e5c22f5f4e55817f8ba18a08ea717ed2d4a1f (patch) | |
tree | 343c50c18d4997d8135a6b20c7be69eb16fd35e3 /net/ipv4/fib_trie.c | |
parent | 10b0a7732e04aeb7e21fe7dc3b8249a3041eab28 (diff) |
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.c | 3 |
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) | |||
1843 | if (ll && hlist_empty(&ll->list)) | 1843 | if (ll && hlist_empty(&ll->list)) |
1844 | trie_leaf_remove(t, ll); | 1844 | trie_leaf_remove(t, ll); |
1845 | 1845 | ||
1846 | inetpeer_invalidate_tree(&tb->tb_peers); | ||
1847 | |||
1848 | pr_debug("trie_flush found=%d\n", found); | 1846 | pr_debug("trie_flush found=%d\n", found); |
1849 | return found; | 1847 | return found; |
1850 | } | 1848 | } |
@@ -1993,7 +1991,6 @@ struct fib_table *fib_trie_table(u32 id) | |||
1993 | tb->tb_id = id; | 1991 | tb->tb_id = id; |
1994 | tb->tb_default = -1; | 1992 | tb->tb_default = -1; |
1995 | tb->tb_num_default = 0; | 1993 | tb->tb_num_default = 0; |
1996 | inet_peer_base_init(&tb->tb_peers); | ||
1997 | 1994 | ||
1998 | t = (struct trie *) tb->tb_data; | 1995 | t = (struct trie *) tb->tb_data; |
1999 | memset(t, 0, sizeof(*t)); | 1996 | memset(t, 0, sizeof(*t)); |