]> 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)
commitf703173c6f5052e2848208c4d5037cf4960f0c23
tree697499944e9806c63f96e93a7ff6a9ac6593a329
parent2e57205d749cae9f955ae240dde2d463d19b9657
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