summaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorAjit Khaparde <ajitkhaparde@gmail.com>2009-10-07 04:43:49 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-08 07:00:26 +0200
commit2d86f1393c62f9c3bae5c1207408ed6559aa3cc4 (patch)
tree631563e972a39da405eb9c3cae59296bb93e8750 /drivers/net/ixgbe/ixgbe.h
parentmyri10ge: Use the instance of net_device_stats from net_device. (diff)
downloadlinux-2d86f1393c62f9c3bae5c1207408ed6559aa3cc4.tar.xz
linux-2d86f1393c62f9c3bae5c1207408ed6559aa3cc4.zip
ixgbe: 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> Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index 28f32da794dd..2b854161c61b 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -340,7 +340,6 @@ struct ixgbe_adapter {
/* OS defined structs */
struct net_device *netdev;
struct pci_dev *pdev;
- struct net_device_stats net_stats;
u32 test_icr;
struct ixgbe_ring test_tx_ring;