From: Sudip Mukherjee Date: Thu, 16 Jun 2016 21:19:31 +0000 (+0100) Subject: net: lantiq_etop: remove unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0023a061d75a37f50fb6952015b826d86de8d2c4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: lantiq_etop: remove unused variable The variable i was declared but was never used and we were getting a build warning for that. Signed-off-by: Sudip Mukherjee Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/lantiq_etop.c b/drivers/net/ethernet/lantiq_etop.c index dc82b1b19574..0d2f8e934c59 100644 --- a/drivers/net/ethernet/lantiq_etop.c +++ b/drivers/net/ethernet/lantiq_etop.c @@ -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();