]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Remove 'queue' check in igc_del_mac_filter()
authorAndre Guedes <andre.guedes@intel.com>
Wed, 1 Apr 2020 21:41:43 +0000 (14:41 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 19 Apr 2020 19:04:51 +0000 (12:04 -0700)
commite5ceca42bb0ffd92adcf43df963bc9785923007f
tree38fd609eabdbec11296925f277adfba8931dcaee
parent72bd3d49d8ab7de86f7bd6377441b731c195798b
igc: Remove 'queue' check in igc_del_mac_filter()

igc_add_mac_filter() doesn't allow us to have more than one entry with
the same address and address type in adapter->mac_table so checking if
'queue' matches in igc_del_mac_filter() isn't necessary. This patch
removes that check.

This patch also takes the opportunity to improve the igc_del_mac_filter
documentation and remove comment which is not applicable to this I225
controller.

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