diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-02-06 18:18:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 05:43:07 -0500 |
commit | 0fbe67af3ee1928f7eae273133b7112d1665d4d3 (patch) | |
tree | 52d497d399990860e2eda16bb572b033ab769c7a /drivers | |
parent | 312c75aee7606e886d91c810bc491c9f40ff5837 (diff) |
igb: remove unused rx_hdr_split statistic
This statistic is not used and so it is safe to remove
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')
-rw-r--r-- | drivers/net/igb/igb.h | 1 | ||||
-rw-r--r-- | drivers/net/igb/igb_ethtool.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index a2a812deb6b8..88fdfe4961d8 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h | |||
@@ -238,7 +238,6 @@ struct igb_adapter { | |||
238 | 238 | ||
239 | u64 hw_csum_err; | 239 | u64 hw_csum_err; |
240 | u64 hw_csum_good; | 240 | u64 hw_csum_good; |
241 | u64 rx_hdr_split; | ||
242 | u32 alloc_rx_buff_failed; | 241 | u32 alloc_rx_buff_failed; |
243 | bool rx_csum; | 242 | bool rx_csum; |
244 | u32 gorc; | 243 | u32 gorc; |
diff --git a/drivers/net/igb/igb_ethtool.c b/drivers/net/igb/igb_ethtool.c index a5bf8ef2848a..84be46c2a0f9 100644 --- a/drivers/net/igb/igb_ethtool.c +++ b/drivers/net/igb/igb_ethtool.c | |||
@@ -88,7 +88,6 @@ static const struct igb_stats igb_gstrings_stats[] = { | |||
88 | { "rx_long_byte_count", IGB_STAT(stats.gorc) }, | 88 | { "rx_long_byte_count", IGB_STAT(stats.gorc) }, |
89 | { "rx_csum_offload_good", IGB_STAT(hw_csum_good) }, | 89 | { "rx_csum_offload_good", IGB_STAT(hw_csum_good) }, |
90 | { "rx_csum_offload_errors", IGB_STAT(hw_csum_err) }, | 90 | { "rx_csum_offload_errors", IGB_STAT(hw_csum_err) }, |
91 | { "rx_header_split", IGB_STAT(rx_hdr_split) }, | ||
92 | { "alloc_rx_buff_failed", IGB_STAT(alloc_rx_buff_failed) }, | 91 | { "alloc_rx_buff_failed", IGB_STAT(alloc_rx_buff_failed) }, |
93 | { "tx_smbus", IGB_STAT(stats.mgptc) }, | 92 | { "tx_smbus", IGB_STAT(stats.mgptc) }, |
94 | { "rx_smbus", IGB_STAT(stats.mgprc) }, | 93 | { "rx_smbus", IGB_STAT(stats.mgprc) }, |