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)
commitc6aae5917b8a244dcb4114be806ba3ac52e3480a
tree38fd609eabdbec11296925f277adfba8931dcaee
parenta73eb651005eef079a6bf3b448d1b6eb607bc80b
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