ipv4: Remove tb_peers from fib_table.
authorDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2012 16:39:28 +0000 (09:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jul 2012 16:39:28 +0000 (09:39 -0700)
No longer used.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ip_fib.h
net/ipv4/fib_trie.c

index 000c4674e18e0169ffc810c5b22fc25ff0cc8958..e91fedd22db2a9e06d477452b906e84f38b3b28d 100644 (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];
 };
 
index 9b0f25930fbc309acdefc4a3ada98aefa40a6050..18cbc15b20d5cc3dfc10c52ff344fa60a7ed3560 100644 (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));