diff options
Diffstat (limited to 'drivers/net/ethernet/sun/sunbmac.c')
-rw-r--r-- | drivers/net/ethernet/sun/sunbmac.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ethernet/sun/sunbmac.c b/drivers/net/ethernet/sun/sunbmac.c index 054975939a18..09b4f8c0b199 100644 --- a/drivers/net/ethernet/sun/sunbmac.c +++ b/drivers/net/ethernet/sun/sunbmac.c | |||
@@ -1017,10 +1017,7 @@ static void bigmac_set_multicast(struct net_device *dev) | |||
1017 | tmp |= BIGMAC_RXCFG_PMISC; | 1017 | tmp |= BIGMAC_RXCFG_PMISC; |
1018 | sbus_writel(tmp, bregs + BMAC_RXCFG); | 1018 | sbus_writel(tmp, bregs + BMAC_RXCFG); |
1019 | } else { | 1019 | } else { |
1020 | u16 hash_table[4]; | 1020 | u16 hash_table[4] = { 0 }; |
1021 | |||
1022 | for (i = 0; i < 4; i++) | ||
1023 | hash_table[i] = 0; | ||
1024 | 1021 | ||
1025 | netdev_for_each_mc_addr(ha, dev) { | 1022 | netdev_for_each_mc_addr(ha, dev) { |
1026 | crc = ether_crc_le(6, ha->addr); | 1023 | crc = ether_crc_le(6, ha->addr); |