]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: remove duplicate stat calculation for tx_errors
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 24 Apr 2019 12:20:54 +0000 (05:20 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Jun 2019 20:03:34 +0000 (13:03 -0700)
commit8f15165e2335caeedb92d38f1fb7e85eb563f659
tree32d5b9d8d18067e943198eb463ed2683e3a67097
parentec86055d43afbdb90b68425380c475bcbaf0dd12
i40e: remove duplicate stat calculation for tx_errors

The tx_errors statistic was being calculated twice in
i40e_update_eth_stats.

This appears to be as of commit 201db2898f2c ("i40e: add missing VSI
statistics", 2014-03-25).

Remove the extra i40e_stat_update32 call for GLV_TEPC.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c