aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb.h
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-10-27 19:50:18 -0400
committerDavid S. Miller <davem@davemloft.net>2009-10-28 06:25:53 -0400
commit645a3abd73c2ac05d375f080d2f58d56e1502562 (patch)
treee70a0e6402ad4ea4170182c55b3e543459a60b3a /drivers/net/igb/igb.h
parent25568a531a1bc76fdf968382a4eb65a979186c67 (diff)
igb: Remove invalid stats counters
There are several counters being used like they are static when in fact they are clear on read. In order to prevent the values from being incorrect I am removing the defunct counters. 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/igb.h')
-rw-r--r--drivers/net/igb/igb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h
index c27dc1a8d0c6..b9fcfd3c9576 100644
--- a/drivers/net/igb/igb.h
+++ b/drivers/net/igb/igb.h
@@ -269,10 +269,6 @@ struct igb_adapter {
269 /* TX */ 269 /* TX */
270 struct igb_ring *tx_ring; /* One per active queue */ 270 struct igb_ring *tx_ring; /* One per active queue */
271 unsigned long tx_queue_len; 271 unsigned long tx_queue_len;
272 u32 gotc;
273 u64 gotc_old;
274 u64 tpt_old;
275 u64 colc_old;
276 u32 tx_timeout_count; 272 u32 tx_timeout_count;
277 273
278 /* RX */ 274 /* RX */
@@ -280,8 +276,6 @@ struct igb_adapter {
280 int num_tx_queues; 276 int num_tx_queues;
281 int num_rx_queues; 277 int num_rx_queues;
282 278
283 u32 gorc;
284 u64 gorc_old;
285 u32 max_frame_size; 279 u32 max_frame_size;
286 u32 min_frame_size; 280 u32 min_frame_size;
287 281