aboutsummaryrefslogtreecommitdiffstats
path: root/net/bridge/br_private.h
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-05-21 17:13:47 -0400
committerDavid S. Miller <davem@davemloft.net>2008-05-21 17:13:47 -0400
commita339f1c881fdb8092ef9b118610307e10e885fc8 (patch)
tree117feec8162165b577d7030262da66e8ac6a5e83 /net/bridge/br_private.h
parent96e74088f1da4d9a53735a4a57a4f984f86b75c6 (diff)
bridge: Use on-device stats instead of private ones.
Even though bridges require 6 fields from struct net_device_stats, the on-device stats are always there, so we may just use them. The br_dev_get_stats is no longer required after this. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r--net/bridge/br_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h
index c11b554fd109..0243cb489edd 100644
--- a/net/bridge/br_private.h
+++ b/net/bridge/br_private.h
@@ -90,7 +90,6 @@ struct net_bridge
90 spinlock_t lock; 90 spinlock_t lock;
91 struct list_head port_list; 91 struct list_head port_list;
92 struct net_device *dev; 92 struct net_device *dev;
93 struct net_device_stats statistics;
94 spinlock_t hash_lock; 93 spinlock_t hash_lock;
95 struct hlist_head hash[BR_HASH_SIZE]; 94 struct hlist_head hash[BR_HASH_SIZE];
96 struct list_head age_list; 95 struct list_head age_list;