aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ksz884x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ksz884x.c')
-rw-r--r--drivers/net/ksz884x.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c
index 2ac6c6c984b3..27418d31a09f 100644
--- a/drivers/net/ksz884x.c
+++ b/drivers/net/ksz884x.c
@@ -5785,8 +5785,6 @@ static void netdev_set_rx_mode(struct net_device *dev)
5785 } 5785 }
5786 5786
5787 netdev_for_each_mc_addr(ha, dev) { 5787 netdev_for_each_mc_addr(ha, dev) {
5788 if (!(*ha->addr & 1))
5789 continue;
5790 if (i >= MAX_MULTICAST_LIST) 5788 if (i >= MAX_MULTICAST_LIST)
5791 break; 5789 break;
5792 memcpy(hw->multi_list[i++], ha->addr, MAC_ADDR_LEN); 5790 memcpy(hw->multi_list[i++], ha->addr, MAC_ADDR_LEN);