net: lantiq_etop: remove unused variable
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Thu, 16 Jun 2016 21:19:31 +0000 (22:19 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jun 2016 03:54:35 +0000 (20:54 -0700)
The variable i was declared but was never used and we were getting a
build warning for that.

Signed-off-by: Sudip Mukherjee <sudip.mukherjee@codethink.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/lantiq_etop.c

index dc82b1b..0d2f8e9 100644 (file)
@@ -411,7 +411,6 @@ static int
 ltq_etop_mdio_init(struct net_device *dev)
 {
        struct ltq_etop_priv *priv = netdev_priv(dev);
-       int i;
        int err;
 
        priv->mii_bus = mdiobus_alloc();