igb: removed unused tx/rx total bytes/packets from adapter struct
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 12 Nov 2009 18:37:56 +0000 (18:37 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Nov 2009 04:46:51 +0000 (20:46 -0800)
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>
drivers/net/igb/igb.h

index 2bb95494377d67bc9e06e2f4d13736825066035c..63abd1c0d75e1a50cedd7cf561b5707caa495eac 100644 (file)
@@ -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;