summaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAjit Khaparde <ajitkhaparde@gmail.com>2009-10-07 02:42:56 +0000
committerDavid S. Miller <davem@davemloft.net>2009-10-07 22:00:27 -0700
commit8d24e93309d688d59d4b6cf0b9cffc40337e067d (patch)
treef5f5b519227d0d49131113ed445883b5fed6b748 /drivers/net/igb/igb.h
parent2d86f1393c62f9c3bae5c1207408ed6559aa3cc4 (diff)
downloadtalos-obmc-linux-8d24e93309d688d59d4b6cf0b9cffc40337e067d.tar.gz
talos-obmc-linux-8d24e93309d688d59d4b6cf0b9cffc40337e067d.zip
igb: 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 adapter structure. Signed-off-by: Ajit Khaparde <ajitk@serverengines.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r--drivers/net/igb/igb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 7126fea26fec..b805b1c63f80 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -256,7 +256,6 @@ struct igb_adapter {
struct net_device *netdev;
struct napi_struct napi;
struct pci_dev *pdev;
- struct net_device_stats net_stats;
struct cyclecounter cycles;
struct timecounter clock;
struct timecompare compare;
OpenPOWER on IntegriCloud