]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove no need declaration of the igc_sw_init
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:45:40 +0000 (13:45 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 07:07:54 +0000 (23:07 -0800)
commitb02d2bb908a3d83bfeb8bd987d96cf28d2fdc86b
tree697499944e9806c63f96e93a7ff6a9ac6593a329
parent8aecea6f069fddafcf40c5ca962f37ce1408a80e
igc: Remove no need declaration of the igc_sw_init

We want to avoid forward-declarations of function if possible.
Rearrange the igc_sw_init 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