]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove igc_nfc_rule_exit()
authorAndre Guedes <andre.guedes@intel.com>
Fri, 24 Apr 2020 20:16:23 +0000 (13:16 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 23 May 2020 01:21:52 +0000 (18:21 -0700)
commitd6b880ccaf100be5546d227ee56b1069d79e6bc7
treed81f7698f8687ab8a3703077f7427f7e237ef2e3
parent96bcc8f929df59e1bfada4dd20a681056d9b0000
igc: Remove igc_nfc_rule_exit()

During igc_down(), we call igc_nfc_rule_exit() which traverse the NFC
rule list disabling filters one by one. Later on in igc_down() flow
we issue an hardware reset which also clear all filters.  Since we
already reset the hardware, we don't actually need to disable each
filter manually. In order to simplify the code, this patch removes
igc_nfc_rule() altogether.

Signed-off-by: Andre Guedes <andre.guedes@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