提交 2507c05f 编写于 作者: J Jiri Pirko 提交者: David S. Miller

virtio_net: remove forgotten assignment

This is no longer needed. I missed to remove this in
567ec874 ("net: convert multiple
drivers to use netdev_for_each_mc_addr, part6")
Signed-off-by: NJiri Pirko <jpirko@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册