]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec056edb63755bc045b86900214e3eebea6ddd79
tree3b8f2296e26e588c8b03ea898750b75293ba078d
parent85dd82dc9a23bb55dbced91e056212d8a1ccf261
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