]> 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)
commit82db9f3bd3faa054d70f79a343424a3505e3099f
treeecfdc808beee416a447a1f73cd696b220ec6e4f0
parent0a04bbe7ccd01e1f578ccd5cfd396fb8aedd0bb4
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