]> git.baikalelectronics.ru Git - kernel.git/commitdiff
igc: Remove unused flags
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 10 May 2020 15:52:00 +0000 (18:52 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 29 May 2020 03:05:20 +0000 (20:05 -0700)
Transmit underrun, late and excess collision flags not in use.
This patch comes to clean up these flags.

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_defines.h

index 3d8d40d6fa3f3bf8f7b134d43ecd0cf28480f33a..186deb1d9375c4520340bf0ee41663ed43ccf0ae 100644 (file)
 #define IGC_TXD_CMD_DEXT       0x20000000 /* Desc extension (0 = legacy) */
 #define IGC_TXD_CMD_VLE                0x40000000 /* Add VLAN tag */
 #define IGC_TXD_STAT_DD                0x00000001 /* Descriptor Done */
-#define IGC_TXD_STAT_EC                0x00000002 /* Excess Collisions */
-#define IGC_TXD_STAT_LC                0x00000004 /* Late Collisions */
-#define IGC_TXD_STAT_TU                0x00000008 /* Transmit underrun */
 #define IGC_TXD_CMD_TCP                0x01000000 /* TCP packet */
 #define IGC_TXD_CMD_IP         0x02000000 /* IP packet */
 #define IGC_TXD_CMD_TSE                0x04000000 /* TCP Seg enable */
-#define IGC_TXD_STAT_TC                0x00000004 /* Tx Underrun */
 #define IGC_TXD_EXTCMD_TSTAMP  0x00000010 /* IEEE1588 Timestamp packet */
 
 /* IPSec Encrypt Enable */