2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-11-18 23:54:26 +08:00

ipv4: Remove tb_peers from fib_table.

No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2012-07-12 09:39:28 -07:00
parent 10b0a7732e
commit 391e5c22f5
2 changed files with 0 additions and 4 deletions

View File

@ -162,7 +162,6 @@ struct fib_table {
u32 tb_id;
int tb_default;
int tb_num_default;
struct inet_peer_base tb_peers;
unsigned long tb_data[0];
};

View File

@ -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));