igc: Remove no need declaration of the igc_irq_enable
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:44:47 +0000 (13:44 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 06:57:59 +0000 (22:57 -0800)
commitfccf939e2709bf82fd58df73061a63e5016eecbe
tree3506590925b7e2d03dc742ded70483a0b358e4b8
parenta146ea022f1d02df0116fae9d5d334b75f022a24
igc: Remove no need declaration of the igc_irq_enable

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