mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
bfd5f4a3d6
commit
570930fe1e
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue