summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb/common.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-04-07 10:17:26 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-07 07:03:33 -0700
commita3bb4560026cb3accd0097266eab21fe7526658e (patch)
tree75a280cc85db01b7ec2d6a3f15a65c973c0b6721 /drivers/net/ethernet/chelsio/cxgb/common.h
parent7db4c0dd149ea027527a0d2fe5edd5f2fb415c72 (diff)
downloadtalos-obmc-linux-a3bb4560026cb3accd0097266eab21fe7526658e.tar.gz
talos-obmc-linux-a3bb4560026cb3accd0097266eab21fe7526658e.zip
net: cxgb: Use net_device_stats from struct net_device
Instead of using a private copy of struct net_device_stats in struct port_info, 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/chelsio/cxgb/common.h')
-rw-r--r--drivers/net/ethernet/chelsio/cxgb/common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb/common.h b/drivers/net/ethernet/chelsio/cxgb/common.h
index 6916c62f2487..94b9482f14a5 100644
--- a/drivers/net/ethernet/chelsio/cxgb/common.h
+++ b/drivers/net/ethernet/chelsio/cxgb/common.h
@@ -223,7 +223,6 @@ struct port_info {
struct cmac *mac;
struct cphy *phy;
struct link_config link_config;
- struct net_device_stats netstats;
};
struct sge;
OpenPOWER on IntegriCloud