OSDN Git Service

igc: Remove no need declaration of the igc_irq_disable
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:44:58 +0000 (13:44 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 06:59:29 +0000 (22:59 -0800)
commit35f9a78ac93361c2992719f9e00d60c158a32874
tree3b8f2296e26e588c8b03ea898750b75293ba078d
parentfccf939e2709bf82fd58df73061a63e5016eecbe
igc: Remove no need declaration of the igc_irq_disable

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