bridge: Remove unused age_list
authorHerbert Xu <herbert@gondor.apana.org.au>
Fri, 5 Feb 2010 04:28:48 +0000 (20:28 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 5 Feb 2010 04:28:48 +0000 (20:28 -0800)
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>
net/bridge/br_if.c
net/bridge/br_private.h

index 7bc0604069c78f29443739f90997977d1b880d79..bc2b1badab889fa7511ed1a07fd996d1d65920e4 100644 (file)
@@ -206,8 +206,6 @@ static struct net_device *new_bridge_dev(struct net *net, const char *name)
 
        br_netfilter_rtable_init(br);
 
-       INIT_LIST_HEAD(&br->age_list);
-
        br_stp_timer_init(br);
 
        return dev;
index 2114e45682eaa388c4a7f0eddcf36f9dfd351a51..1f0c4f44b765bea9bcb8898ce4a5a07786dd5571 100644 (file)
@@ -93,7 +93,6 @@ struct net_bridge
        struct net_device               *dev;
        spinlock_t                      hash_lock;
        struct hlist_head               hash[BR_HASH_SIZE];
-       struct list_head                age_list;
        unsigned long                   feature_mask;
 #ifdef CONFIG_BRIDGE_NETFILTER
        struct rtable                   fake_rtable;