mv643xx_eth: fix variable shadowing sparse warning
Lennert Buytenhek [Wed, 6 May 2009 03:00:59 +0000 (03:00 +0000)]
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

drivers/net/mv643xx_eth.c

index a400d71..352c772 100644 (file)
@@ -1807,7 +1807,6 @@ static void mv643xx_eth_program_multicast_filter(struct net_device *dev)
        if (dev->flags & (IFF_PROMISC | IFF_ALLMULTI)) {
                int port_num;
                u32 accept;
-               int i;
 
 oom:
                port_num = mp->port_num;