summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgb/ixgb.h
diff options
context:
space:
mode:
authorAjit Khaparde <ajitkhaparde@gmail.com>2009-10-07 02:46:59 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-07 22:00:29 -0700
commit0cdc03698f2586923ad3b9fca06643ff5675f221 (patch)
treea403607562ecd5588b7735093ddbdb32d61f032a /drivers/net/ixgb/ixgb.h
parentbcc90f555b4eb82604436f7ab6a7853c4b5997a3 (diff)
downloadtalos-op-linux-0cdc03698f2586923ad3b9fca06643ff5675f221.tar.gz
talos-op-linux-0cdc03698f2586923ad3b9fca06643ff5675f221.zip
ixgb: Use the instance of net_device_stats from net_device.
Since net_device has an instance of net_device_stats, we can remove the instance of this from the private adapter structure. Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgb/ixgb.h')
-rw-r--r--drivers/net/ixgb/ixgb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ixgb/ixgb.h b/drivers/net/ixgb/ixgb.h
index d85717e3022a..e95d9b6f1f2d 100644
--- a/drivers/net/ixgb/ixgb.h
+++ b/drivers/net/ixgb/ixgb.h
@@ -183,7 +183,6 @@ struct ixgb_adapter {
struct napi_struct napi;
struct net_device *netdev;
struct pci_dev *pdev;
- struct net_device_stats net_stats;
/* structs defined in ixgb_hw.h */
struct ixgb_hw hw;
OpenPOWER on IntegriCloud