aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sun/sunbmac.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-04-07 10:17:34 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-07 07:03:33 -0700
commit0ffa9373a06c65e32a05d35656b2260857d1e5ce (patch)
tree5da6554578013281b2fa699cab698c11f0ce1225 /drivers/net/ethernet/sun/sunbmac.h
parentnet: nuvoton: Use net_device_stats from struct net_device (diff)
downloadlinux-dev-0ffa9373a06c65e32a05d35656b2260857d1e5ce.tar.xz
linux-dev-0ffa9373a06c65e32a05d35656b2260857d1e5ce.zip
net: sunbmac: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct bigmac, use stats from struct net_device. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sun/sunbmac.h')
-rw-r--r--drivers/net/ethernet/sun/sunbmac.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sun/sunbmac.h b/drivers/net/ethernet/sun/sunbmac.h
index 532fc56830cf..ee56930475a8 100644
--- a/drivers/net/ethernet/sun/sunbmac.h
+++ b/drivers/net/ethernet/sun/sunbmac.h
@@ -311,7 +311,6 @@ struct bigmac {
enum bigmac_timer_state timer_state;
unsigned int timer_ticks;
- struct net_device_stats enet_stats;
struct platform_device *qec_op;
struct platform_device *bigmac_op;
struct net_device *dev;