OSDN Git Service

igc: Remove no need declaration of the igc_set_interrupt_capability
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:44:19 +0000 (13:44 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 06:50:56 +0000 (22:50 -0800)
commit0411d368bc8a43f33f2e012b19304cc9df8f03ba
treec6144affcb7495a212745f1a52f07cbddb568e37
parentaac8f68c5687c3b3a592ae05f66a78837430330e
igc: Remove no need declaration of the igc_set_interrupt_capability

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