igc: Remove per queue good transmited counter register
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 22 Apr 2020 10:46:47 +0000 (13:46 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 21 May 2020 23:18:56 +0000 (16:18 -0700)
Per queue good transmitted packet counter not applicable for i225 device.
This patch comes to clean up this register.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igc/igc_regs.h

index 79bd104363ed07fa71528603b9df49b12d90d703..7f999cfc9b3922937b8716d882e42535743f09fc 100644 (file)
 #define IGC_MMDAC              13 /* MMD Access Control */
 #define IGC_MMDAAD             14 /* MMD Access Address/Data */
 
-/* Good transmitted packets counter registers */
-#define IGC_PQGPTC(_n)         (0x010014 + (0x100 * (_n)))
-
 /* Statistics Register Descriptions */
 #define IGC_CRCERRS    0x04000  /* CRC Error Count - R/clr */
 #define IGC_ALGNERRC   0x04004  /* Alignment Error Count - R/clr */