aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2010-03-02 06:57:33 -0500
committerDavid S. Miller <davem@davemloft.net>2010-03-02 06:57:33 -0500
commit2507c05ff55fbf38326b08ed27eaed233bc75042 (patch)
treecd10e3c9642f47dea8641f4602921cc94fa98cf6 /drivers/net
parentf31e50a802baae939c49819b8acd8f077019d398 (diff)
virtio_net: remove forgotten assignment
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>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/virtio_net.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index e6095f3aa05f..25dc77ccbf58 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -775,7 +775,6 @@ static void virtnet_set_rx_mode(struct net_device *dev)
775 mac_data = (void *)&mac_data->macs[uc_count][0]; 775 mac_data = (void *)&mac_data->macs[uc_count][0];
776 776
777 mac_data->entries = mc_count; 777 mac_data->entries = mc_count;
778 addr = dev->mc_list;
779 i = 0; 778 i = 0;
780 netdev_for_each_mc_addr(addr, dev) 779 netdev_for_each_mc_addr(addr, dev)
781 memcpy(&mac_data->macs[i++][0], addr->da_addr, ETH_ALEN); 780 memcpy(&mac_data->macs[i++][0], addr->da_addr, ETH_ALEN);