OSDN Git Service

igc: Remove no need declaration of the igc_free_q_vectors
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:45:07 +0000 (13:45 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 07:00:55 +0000 (23:00 -0800)
commita8c4873b566bcbf024988334bcbfd0a31667064f
treec7eab99d14988bb5925393ff2f5d6f820f808239
parent35f9a78ac93361c2992719f9e00d60c158a32874
igc: Remove no need declaration of the igc_free_q_vectors

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