mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
312c75aee7
commit
0fbe67af3e
|
@ -238,7 +238,6 @@ struct igb_adapter {
|
|||
|
||||
u64 hw_csum_err;
|
||||
u64 hw_csum_good;
|
||||
u64 rx_hdr_split;
|
||||
u32 alloc_rx_buff_failed;
|
||||
bool rx_csum;
|
||||
u32 gorc;
|
||||
|
|
|
@ -88,7 +88,6 @@ static const struct igb_stats igb_gstrings_stats[] = {
|
|||
{ "rx_long_byte_count", IGB_STAT(stats.gorc) },
|
||||
{ "rx_csum_offload_good", IGB_STAT(hw_csum_good) },
|
||||
{ "rx_csum_offload_errors", IGB_STAT(hw_csum_err) },
|
||||
{ "rx_header_split", IGB_STAT(rx_hdr_split) },
|
||||
{ "alloc_rx_buff_failed", IGB_STAT(alloc_rx_buff_failed) },
|
||||
{ "tx_smbus", IGB_STAT(stats.mgptc) },
|
||||
{ "rx_smbus", IGB_STAT(stats.mgprc) },
|
||||
|
|
Loading…
Reference in New Issue