Commit 1a590434 authored by Emilio López's avatar Emilio López Committed by David S. Miller

net: ethernet: korina: drop unused variable

Commit e998fd41 ("net: ethernet: korina: initialize variables directly")
dropped the only loop that was using i but did not remove the actual
variable, therefore causing a warning when building. This patch drops
the now redundant line.
Signed-off-by: default avatarEmilio López <emilio@elopez.com.ar>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent da2e2c21
...@@ -483,7 +483,6 @@ static void korina_multicast_list(struct net_device *dev) ...@@ -483,7 +483,6 @@ static void korina_multicast_list(struct net_device *dev)
unsigned long flags; unsigned long flags;
struct netdev_hw_addr *ha; struct netdev_hw_addr *ha;
u32 recognise = ETH_ARC_AB; /* always accept broadcasts */ u32 recognise = ETH_ARC_AB; /* always accept broadcasts */
int i;
/* Set promiscuous mode */ /* Set promiscuous mode */
if (dev->flags & IFF_PROMISC) if (dev->flags & IFF_PROMISC)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment