igc: Remove unneeded code
authorSasha Neftin <sasha.neftin@intel.com>
Sun, 13 Jan 2019 09:22:31 +0000 (11:22 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 6 Feb 2019 01:05:35 +0000 (17:05 -0800)
commit439c71f7d2ca07cb5bc3ee0686f1e8a3de45b9cd
tree78395b4c49fb8901319919f5b11afdc01da703f6
parent55fdbeaa2db8b271db767240fba24a60bd232528
igc: Remove unneeded code

Remove the 'igc_get_link_up_info_base method' from igc_base.c file.
Use the 'igc_get_speed_and_duplex_copper' method directly and reduce
the code redundancy.

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_base.c