igc: Clean up and optimize watchdog task
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 20 Nov 2022 08:15:11 +0000 (10:15 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 7 Mar 2023 21:45:56 +0000 (13:45 -0800)
commit6cc1b2fd736dbc4c846078459c3c00a0372247da
tree969d3a989e575d2de3f94c29667d9059f4c0acd3
parent92a0dcb8427dc52eb0ec806206e2bdb23cc13840
igc: Clean up and optimize watchdog task

i225/i226 parts used only one media type copper. The copper media type is
not replaceable. Clean up the code accordingly, and remove the obsolete
media replacement and reset options.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc.h
drivers/net/ethernet/intel/igc/igc_main.c