diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-04-07 10:17:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-07 07:03:33 -0700 |
commit | e807bcc7b98b1f9f293c2b587de1c36f258b12bf (patch) | |
tree | f6913c64a48850dff66c60a498cbcdc9d24be4bc /drivers/net/ethernet/sun/sunhme.h | |
parent | net: sunbmac: Use net_device_stats from struct net_device (diff) | |
download | linux-dev-e807bcc7b98b1f9f293c2b587de1c36f258b12bf.tar.xz linux-dev-e807bcc7b98b1f9f293c2b587de1c36f258b12bf.zip |
net: sunhme: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct
happy_meal, 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/sunhme.h')
-rw-r--r-- | drivers/net/ethernet/sun/sunhme.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sun/sunhme.h b/drivers/net/ethernet/sun/sunhme.h index 4a8d5b18dfd5..3af540adb3c5 100644 --- a/drivers/net/ethernet/sun/sunhme.h +++ b/drivers/net/ethernet/sun/sunhme.h @@ -418,8 +418,6 @@ struct happy_meal { int rx_new, tx_new, rx_old, tx_old; - struct net_device_stats net_stats; /* Statistical counters */ - #if defined(CONFIG_SBUS) && defined(CONFIG_PCI) u32 (*read32)(void __iomem *); void (*write32)(void __iomem *, u32); |