]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: ethernet: korina: drop unused variable
authorEmilio López <emilio@elopez.com.ar>
Wed, 22 May 2013 13:57:36 +0000 (13:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 23 May 2013 06:42:44 +0000 (23:42 -0700)
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 <emilio@elopez.com.ar>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/korina.c

index 5409fe876a441607488d43ac39829f7e5fc9e891..907e94a3fb0618406f3fa5cf847fecd8be90010e 100644 (file)
@@ -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)