]> git.baikalelectronics.ru Git - kernel.git/commit
igc: Refactor igc_del_mac_filter()
authorAndre Guedes <andre.guedes@intel.com>
Wed, 18 Mar 2020 23:01:01 +0000 (16:01 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 19 Apr 2020 19:21:49 +0000 (12:21 -0700)
commitbde78c26733dd47189d542701285eb517a2e73c8
treee006e99514edd7ea6b4327b36a2712e400ac7a98
parent0e2bdfcd6a64cd79e3712c2348c3193772a59790
igc: Refactor igc_del_mac_filter()

This patch does a code refactoring in igc_del_mac_filter() so it uses
the new helper igc_find_mac_filter() and improves the comment about the
special handling when deleting the default filter.

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