diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-04-07 10:17:29 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-07 07:03:33 -0700 |
commit | 065f4b6992d02ba4ef27295687bdfbdfc7e85964 (patch) | |
tree | a0affc820f3db661269aa4a1e14016dd2716945e /drivers/net/ethernet/ibm/emac/core.h | |
parent | a548779bb7da7d4041dc0015989e319ea4a3ae8a (diff) | |
download | linux-065f4b6992d02ba4ef27295687bdfbdfc7e85964.tar.gz linux-065f4b6992d02ba4ef27295687bdfbdfc7e85964.tar.bz2 linux-065f4b6992d02ba4ef27295687bdfbdfc7e85964.zip |
net: emac: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in
struct emac_instance, 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/ibm/emac/core.h')
-rw-r--r-- | drivers/net/ethernet/ibm/emac/core.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ibm/emac/core.h b/drivers/net/ethernet/ibm/emac/core.h index 0710a6685489..f10e156641d5 100644 --- a/drivers/net/ethernet/ibm/emac/core.h +++ b/drivers/net/ethernet/ibm/emac/core.h @@ -265,7 +265,6 @@ struct emac_instance { /* Stats */ struct emac_error_stats estats; - struct net_device_stats nstats; struct emac_stats stats; /* Misc |