igc: Remove no need declaration of the igc_set_rx_mode
authorSasha Neftin <sasha.neftin@intel.com>
Tue, 19 Nov 2019 11:44:29 +0000 (13:44 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 5 Jan 2020 06:53:08 +0000 (22:53 -0800)
commit86a4de661b7bb27f208c6c327870bcdbbe9cb152
tree96dd99628db50223bb765bf3dd820c624e9f2aff
parent0411d368bc8a43f33f2e012b19304cc9df8f03ba
igc: Remove no need declaration of the igc_set_rx_mode

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