Skip to content

Commit

Permalink
igb: removed unused tx/rx total bytes/packets from adapter struct
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alexander Duyck authored and David S. Miller committed Nov 14, 2009
1 parent 128e45e commit 971d1d3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/net/igb/igb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 971d1d3

Please sign in to comment.