OSDN Git Service

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)
commit1ab69fb357099d7bd869cf9332f0cb137640c6a4
tree8b9a36554f1a923ab972ae79c6053025cbead474
parent14504ac5048e1773da16e741b2e659c8b7257592
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