]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8444bcbe1d27685a8166b3515c45ea74b2ac0c1e
tree96dd99628db50223bb765bf3dd820c624e9f2aff
parente892aae7b13a78678e0cff8534f93d8fb6c87313
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