OSDN Git Service

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)
commit63c92c9d2e536c91ace17dec7534883f40421753
tree697499944e9806c63f96e93a7ff6a9ac6593a329
parent55cd7386c5b759ba4a736dee85cbad825013fd20
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