diff options
-rw-r--r-- | drivers/net/virtio_net.c | 1 |
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); |