diff options
-rw-r--r-- | drivers/net/ethernet/korina.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index 5409fe876a44..0b5708520121 100644 --- a/drivers/net/ethernet/korina.c +++ b/drivers/net/ethernet/korina.c | |||
@@ -495,12 +495,9 @@ static void korina_multicast_list(struct net_device *dev) | |||
495 | 495 | ||
496 | /* Build the hash table */ | 496 | /* Build the hash table */ |
497 | if (netdev_mc_count(dev) > 4) { | 497 | if (netdev_mc_count(dev) > 4) { |
498 | u16 hash_table[4]; | 498 | u16 hash_table[4] = { 0 }; |
499 | u32 crc; | 499 | u32 crc; |
500 | 500 | ||
501 | for (i = 0; i < 4; i++) | ||
502 | hash_table[i] = 0; | ||
503 | |||
504 | netdev_for_each_mc_addr(ha, dev) { | 501 | netdev_for_each_mc_addr(ha, dev) { |
505 | crc = ether_crc_le(6, ha->addr); | 502 | crc = ether_crc_le(6, ha->addr); |
506 | crc >>= 26; | 503 | crc >>= 26; |