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 7bc0604..bc2b1ba 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 2114e45..1f0c4f4 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;