diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2010-02-04 23:28:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-04 23:28:48 -0500 |
commit | 570930fe1ee497de6aafd895dbe80116cb10525f (patch) | |
tree | fabb00c0a1e5e239f723fff5ad9e3b414fa4b8a8 /net/bridge | |
parent | bfd5f4a3d605e0f6054df0b59fe0907ff7e696d3 (diff) |
bridge: Remove unused age_list
This patch removes the unused age_list member from the net_bridge
structure.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_if.c | 2 | ||||
-rw-r--r-- | net/bridge/br_private.h | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/net/bridge/br_if.c b/net/bridge/br_if.c index 7bc0604069c7..bc2b1badab88 100644 --- a/net/bridge/br_if.c +++ b/net/bridge/br_if.c | |||
@@ -206,8 +206,6 @@ static struct net_device *new_bridge_dev(struct net *net, const char *name) | |||
206 | 206 | ||
207 | br_netfilter_rtable_init(br); | 207 | br_netfilter_rtable_init(br); |
208 | 208 | ||
209 | INIT_LIST_HEAD(&br->age_list); | ||
210 | |||
211 | br_stp_timer_init(br); | 209 | br_stp_timer_init(br); |
212 | 210 | ||
213 | return dev; | 211 | return dev; |
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 2114e45682ea..1f0c4f44b765 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h | |||
@@ -93,7 +93,6 @@ struct net_bridge | |||
93 | struct net_device *dev; | 93 | struct net_device *dev; |
94 | spinlock_t hash_lock; | 94 | spinlock_t hash_lock; |
95 | struct hlist_head hash[BR_HASH_SIZE]; | 95 | struct hlist_head hash[BR_HASH_SIZE]; |
96 | struct list_head age_list; | ||
97 | unsigned long feature_mask; | 96 | unsigned long feature_mask; |
98 | #ifdef CONFIG_BRIDGE_NETFILTER | 97 | #ifdef CONFIG_BRIDGE_NETFILTER |
99 | struct rtable fake_rtable; | 98 | struct rtable fake_rtable; |