summaryrefslogtreecommitdiffstats
path: root/drivers/net/tehuti.h
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2010-08-19 00:11:25 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-20 02:19:05 +0200
commit0add79e3134a618c10acabe58834ac647075111a (patch)
treedeaceee3368a255a780e3435a3f751bb550c5f9e /drivers/net/tehuti.h
parentep93xx_eth: Use net_device_stats from struct net_device (diff)
downloadlinux-0add79e3134a618c10acabe58834ac647075111a.tar.xz
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;