]> 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)
commit493a7e17c5a055cd8183b5795298148152bfe182
tree38fd609eabdbec11296925f277adfba8931dcaee
parentdcc525e1e426d9f7e830036e0a964754e4c00b91
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