aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-11-12 18:37:56 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-13 20:46:51 -0800
commit971d1d3a7e9f03af870909fddfc3b2fc08e4f5b1 (patch)
treebde6ccc824bd857952230ed2d571065a09a97b70 /drivers/net/igb
parentigb: Rework how netdev->stats is handled (diff)
downloadlinux-dev-971d1d3a7e9f03af870909fddfc3b2fc08e4f5b1.tar.xz
linux-dev-971d1d3a7e9f03af870909fddfc3b2fc08e4f5b1.zip
igb: removed unused tx/rx total bytes/packets from adapter struct
This patch removes unused variables total_tx_bytes, total_tx_packets, total_rx_bytes, and total_rx_packets from the adapter struct. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb')
-rw-r--r--drivers/net/igb/igb.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index 2bb95494377d..63abd1c0d75e 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -249,10 +249,6 @@ struct igb_adapter {
u16 link_speed;
u16 link_duplex;
- unsigned int total_tx_bytes;
- unsigned int total_tx_packets;
- unsigned int total_rx_bytes;
- unsigned int total_rx_packets;
/* Interrupt Throttle Rate */
u32 rx_itr_setting;
u32 tx_itr_setting;