igc: Fix igc_uc_unsync()
authorAndre Guedes <andre.guedes@intel.com>
Wed, 18 Mar 2020 23:00:54 +0000 (16:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 19 Apr 2020 18:52:40 +0000 (11:52 -0700)
commitec00f1090735259151568f6b74d19c3230d65787
tree31804ba7d9930901782e784af4a1cae55686adb7
parent58184b8ff0786b219772016a50ce07c6b3020846
igc: Fix igc_uc_unsync()

In case igc_del_mac_filter() returns error, that error is masked
since the functions always return 0 (success). This patch fixes
igc_uc_unsync() so it returns whatever value igc_del_mac_filter()
returns (0 on success, negative number on error).

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