diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/e1000/e1000_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c index f06c8975f886..5de738a6d0e6 100644 --- a/drivers/net/e1000/e1000_main.c +++ b/drivers/net/e1000/e1000_main.c | |||
@@ -2161,8 +2161,6 @@ static void e1000_set_rx_mode(struct net_device *netdev) | |||
2161 | e1000_rar_set(hw, ha->addr, i++); | 2161 | e1000_rar_set(hw, ha->addr, i++); |
2162 | } | 2162 | } |
2163 | 2163 | ||
2164 | WARN_ON(i == rar_entries); | ||
2165 | |||
2166 | netdev_for_each_mc_addr(ha, netdev) { | 2164 | netdev_for_each_mc_addr(ha, netdev) { |
2167 | if (i == rar_entries) { | 2165 | if (i == rar_entries) { |
2168 | /* load any remaining addresses into the hash table */ | 2166 | /* load any remaining addresses into the hash table */ |