]> 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)
commit8981c9dc5e73378342a29e11bd521370ccef4007
treee006e99514edd7ea6b4327b36a2712e400ac7a98
parent2a15c26084ccf47293e78679b9b3977a7cebaa36
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