]> git.baikalelectronics.ru Git - kernel.git/commitdiff
mv643xx_eth: fix variable shadowing sparse warning
authorLennert Buytenhek <buytenh@wantstofly.org>
Wed, 6 May 2009 03:00:59 +0000 (03:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2009 22:33:37 +0000 (15:33 -0700)
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mv643xx_eth.c

index a400d7115f78ce94f8a03f31f9631ed170b9cb81..352c77227a6fe718575e1271edb79811f2c0ddaa 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;