diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-08-18 18:11:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-19 20:19:05 -0400 |
commit | 0add79e3134a618c10acabe58834ac647075111a (patch) | |
tree | deaceee3368a255a780e3435a3f751bb550c5f9e /drivers/net/tehuti.h | |
parent | 5dbfbc4027f819c3da92844f34f241524f99c9eb (diff) |
tehuti: Use net_device_stats from struct net_device
struct net_device has its own struct net_device_stats member, so use
this one instead of a private copy in the bdx_priv struct.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tehuti.h')
-rw-r--r-- | drivers/net/tehuti.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/tehuti.h b/drivers/net/tehuti.h index 67e3b71bf705..b6ba8601e2b5 100644 --- a/drivers/net/tehuti.h +++ b/drivers/net/tehuti.h | |||
@@ -269,7 +269,6 @@ struct bdx_priv { | |||
269 | u32 msg_enable; | 269 | u32 msg_enable; |
270 | int stats_flag; | 270 | int stats_flag; |
271 | struct bdx_stats hw_stats; | 271 | struct bdx_stats hw_stats; |
272 | struct net_device_stats net_stats; | ||
273 | struct pci_dev *pdev; | 272 | struct pci_dev *pdev; |
274 | 273 | ||
275 | struct pci_nic *nic; | 274 | struct pci_nic *nic; |