From: Sasha Neftin Date: Wed, 1 Jan 2020 06:49:13 +0000 (+0200) Subject: igc: Remove unused definition X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=34e9c162f09e224e94e519643970f6d7d607c8fd;p=linux.git igc: Remove unused definition Remove the unused IGC_FUNC_0 definition and make the code cleaner Signed-off-by: Sasha Neftin Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- diff --git a/drivers/net/ethernet/intel/igc/igc_hw.h b/drivers/net/ethernet/intel/igc/igc_hw.h index 20f7106457469..be7273c4b53fb 100644 --- a/drivers/net/ethernet/intel/igc/igc_hw.h +++ b/drivers/net/ethernet/intel/igc/igc_hw.h @@ -22,8 +22,6 @@ #define IGC_DEV_ID_I220_V 0x15F7 #define IGC_DEV_ID_I225_K 0x3100 -#define IGC_FUNC_0 0 - /* Function pointers for the MAC. */ struct igc_mac_operations { s32 (*check_for_link)(struct igc_hw *hw);