]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove no need declaration of the igc_power_down_link
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:43:41 +0000 (13:43 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 06:40:38 +0000 (22:40 -0800)
commite7ced7843164bc5e2543629f0ef970a857e31c7a
tree8b9a36554f1a923ab972ae79c6053025cbead474
parent44119bdf7ceadd0308358ecc6f0636e429ab826f
igc: Remove no need declaration of the igc_power_down_link

We want to avoid forward-declarations of function if possible.
Rearrange the igc_power_down_link function implementation.

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