Skip to content

Commit

Permalink
virtio_net: remove forgotten assignment
Browse files Browse the repository at this point in the history
This is no longer needed. I missed to remove this in
567ec87 ("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>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Mar 2, 2010
1 parent f31e50a commit 2507c05
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/virtio_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2507c05

Please sign in to comment.