summaryrefslogtreecommitdiffstats
path: root/drivers/net/tehuti.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-08-18 22:11:25 +0000
committerDavid S. Miller <davem@davemloft.net>2010-08-19 17:19:05 -0700
commit0add79e3134a618c10acabe58834ac647075111a (patch)
treedeaceee3368a255a780e3435a3f751bb550c5f9e /drivers/net/tehuti.h
parent5dbfbc4027f819c3da92844f34f241524f99c9eb (diff)
downloadlinux-0add79e3134a618c10acabe58834ac647075111a.tar.gz
linux-0add79e3134a618c10acabe58834ac647075111a.tar.bz2
linux-0add79e3134a618c10acabe58834ac647075111a.zip
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.h1
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 {
u32 msg_enable;
int stats_flag;
struct bdx_stats hw_stats;
- struct net_device_stats net_stats;
struct pci_dev *pdev;
struct pci_nic *nic;