forked from luck/tmp_suning_uos_patched
virtio_net: remove forgotten assignment
This is no longer needed. I missed to remove this in
567ec874d1
("net: convert multiple
drivers to use netdev_for_each_mc_addr, part6")
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f31e50a802
commit
2507c05ff5
|
@ -775,7 +775,6 @@ static void virtnet_set_rx_mode(struct net_device *dev)
|
|||
mac_data = (void *)&mac_data->macs[uc_count][0];
|
||||
|
||||
mac_data->entries = mc_count;
|
||||
addr = dev->mc_list;
|
||||
i = 0;
|
||||
netdev_for_each_mc_addr(addr, dev)
|
||||
memcpy(&mac_data->macs[i++][0], addr->da_addr, ETH_ALEN);
|
||||
|
|
Loading…
Reference in New Issue
Block a user