From: Emilio López Date: Wed, 22 May 2013 13:57:36 +0000 (+0000) Subject: net: ethernet: korina: drop unused variable X-Git-Tag: v3.10-rc3~18^2~8 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1a5904342c7380ceddd61c0b37544d752d0b1433;p=karo-tx-linux.git net: ethernet: korina: drop unused variable Commit e998fd4 ("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: Emilio López Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/korina.c b/drivers/net/ethernet/korina.c index 5409fe876a44..907e94a3fb06 100644 --- a/drivers/net/ethernet/korina.c +++ b/drivers/net/ethernet/korina.c @@ -483,7 +483,6 @@ static void korina_multicast_list(struct net_device *dev) unsigned long flags; struct netdev_hw_addr *ha; u32 recognise = ETH_ARC_AB; /* always accept broadcasts */ - int i; /* Set promiscuous mode */ if (dev->flags & IFF_PROMISC)