OSDN Git Service

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)
commitaac8f68c5687c3b3a592ae05f66a78837430330e
treeecfdc808beee416a447a1f73cd696b220ec6e4f0
parent1a7c0f2efd5559408c01c22474127d95274637a8
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