OSDN Git Service

igc: Remove unused FUNC_1 mask
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 20 Dec 2020 09:15:36 +0000 (11:15 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 3 Feb 2021 23:20:32 +0000 (15:20 -0800)
FUNC_1 mask not in use in i225 device and could be removed

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_defines.h

index 5286047..b909f00 100644 (file)
 #define IGC_STATUS_LU          0x00000002      /* Link up.0=no,1=link */
 #define IGC_STATUS_FUNC_MASK   0x0000000C      /* PCI Function Mask */
 #define IGC_STATUS_FUNC_SHIFT  2
-#define IGC_STATUS_FUNC_1      0x00000004      /* Function 1 */
 #define IGC_STATUS_TXOFF       0x00000010      /* transmission paused */
 #define IGC_STATUS_SPEED_100   0x00000040      /* Speed 100Mb/s */
 #define IGC_STATUS_SPEED_1000  0x00000080      /* Speed 1000Mb/s */