]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
igc: Remove unused definition
authorSasha Neftin <sasha.neftin@intel.com>
Wed, 1 Jan 2020 06:49:13 +0000 (08:49 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Jan 2020 17:55:34 +0000 (09:55 -0800)
Remove the unused IGC_FUNC_0 definition and make the code cleaner

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

index 20f7106457469137671192fdb953fbf5095efdc5..be7273c4b53fb5065a1198ad05895c5bf930c082 100644 (file)
@@ -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);