igc: Remove no need declaration of the igc_free_q_vector
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:45:16 +0000 (13:45 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 07:02:22 +0000 (23:02 -0800)
commitf7bcca5d9a8cf087b3f202ad45907b02437faf77
tree0edf0d7d68ed1b7185800f518c72f4a066e61a6a
parenta8c4873b566bcbf024988334bcbfd0a31667064f
igc: Remove no need declaration of the igc_free_q_vector

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