]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
virtio_net: remove forgotten assignment
authorJiri Pirko <jpirko@redhat.com>
Tue, 2 Mar 2010 11:57:33 +0000 (03:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Mar 2010 11:57:33 +0000 (03:57 -0800)
This is no longer needed. I missed to remove this in
567ec874d15b478c8eda7e9a5d2dcb05f13f1fb5 ("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>
drivers/net/virtio_net.c

index e6095f3aa05f3ae853b80a7e45c95a8e71caefbd..25dc77ccbf5876f3bbf27100fdd7b77be3c01a02 100644 (file)
@@ -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);