diff options
author | Ajit Khaparde <ajitkhaparde@gmail.com> | 2009-10-06 22:43:49 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-08 01:00:26 -0400 |
commit | 2d86f1393c62f9c3bae5c1207408ed6559aa3cc4 (patch) | |
tree | 631563e972a39da405eb9c3cae59296bb93e8750 /drivers/net/ixgbe/ixgbe.h | |
parent | 6dc3494183db0b93f49b193ac115073b72453b9c (diff) |
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.h | 1 |
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 { | |||
340 | /* OS defined structs */ | 340 | /* OS defined structs */ |
341 | struct net_device *netdev; | 341 | struct net_device *netdev; |
342 | struct pci_dev *pdev; | 342 | struct pci_dev *pdev; |
343 | struct net_device_stats net_stats; | ||
344 | 343 | ||
345 | u32 test_icr; | 344 | u32 test_icr; |
346 | struct ixgbe_ring test_tx_ring; | 345 | struct ixgbe_ring test_tx_ring; |