bcm63xx_enet: use netdev stats

Use integrated net_device stats instead of a private one

Get rid of bcm_enet_get_stats()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Eric Dumazet
2010-08-24 12:24:07 -07:00
committed by David S. Miller
parent 6abc237680
commit c32d83c042
2 changed files with 27 additions and 34 deletions

View File

@ -274,7 +274,6 @@ struct bcm_enet_priv {
int pause_tx;
/* stats */
struct net_device_stats stats;
struct bcm_enet_mib_counters mib;
/* after mib interrupt, mib registers update is done in this