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>
This commit is contained in:
Tobias Klauser
2017-04-07 10:17:26 +02:00
committed by David S. Miller
szülő 7db4c0dd14
commit a3bb456002
2 fájl változott, egészen pontosan 1 új sor hozzáadva és 2 régi sor törölve

Fájl megtekintése

@@ -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;