Commit 2507c05f authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller
Browse files

virtio_net: remove forgotten assignment

This is no longer needed. I missed to remove this in

 ("net: convert multiple
drivers to use netdev_for_each_mc_addr, part6")
Signed-off-by: default avatarJiri Pirko <>
Signed-off-by: default avatarDavid S. Miller <>
parent f31e50a8
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment