igb: rename igb_update_mc_addr_list_82575 to not include the 82575
There isn't much point in having the _82575 hanging off the end of this function since there aren't any other version of this function running around within this driver. This also allows for a bit of whitespace cleanup due to a shorter function name. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4b1a987736
commit
8a900862a2
@@ -2227,8 +2227,8 @@ static void igb_set_multi(struct net_device *netdev)
|
||||
|
||||
if (!netdev->mc_count) {
|
||||
/* nothing to program, so clear mc list */
|
||||
igb_update_mc_addr_list_82575(hw, NULL, 0, 1,
|
||||
mac->rar_entry_count);
|
||||
igb_update_mc_addr_list(hw, NULL, 0, 1,
|
||||
mac->rar_entry_count);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2245,8 +2245,7 @@ static void igb_set_multi(struct net_device *netdev)
|
||||
memcpy(mta_list + (i*ETH_ALEN), mc_ptr->dmi_addr, ETH_ALEN);
|
||||
mc_ptr = mc_ptr->next;
|
||||
}
|
||||
igb_update_mc_addr_list_82575(hw, mta_list, i, 1,
|
||||
mac->rar_entry_count);
|
||||
igb_update_mc_addr_list(hw, mta_list, i, 1, mac->rar_entry_count);
|
||||
kfree(mta_list);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user