Browse Source

mv643xx_eth: fix variable shadowing sparse warning

Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Lennert Buytenhek 16 năm trước cách đây
mục cha
commit
7eaa2b20ca
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/net/mv643xx_eth.c

+ 0 - 1
drivers/net/mv643xx_eth.c

@@ -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;