]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove no need declaration of the igc_alloc_mapped_page
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:44:11 +0000 (13:44 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 06:49:00 +0000 (22:49 -0800)
commita082e45fcd82bf872b96077ca2646cff2bc55958
treeecfdc808beee416a447a1f73cd696b220ec6e4f0
parent32438202015ce096585bb694d3c586ff0d2934de
igc: Remove no need declaration of the igc_alloc_mapped_page

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