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:
committed by
David S. Miller
parent
6abc237680
commit
c32d83c042
@ -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
|
||||
|
Reference in New Issue
Block a user