]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b1d3b2f04e8ffc2e07d5d5aa388a648e237a6e4
tree78395b4c49fb8901319919f5b11afdc01da703f6
parent3cca907b711fd5d39352b4302595c70b5e7d3a7f
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