diff --git a/drivers/net/ethoc.c b/drivers/net/ethoc.c index 1ee9947924d8..e5c2f5b1d439 100644 --- a/drivers/net/ethoc.c +++ b/drivers/net/ethoc.c @@ -636,7 +636,6 @@ static int ethoc_mdio_probe(struct net_device *dev) struct ethoc *priv = netdev_priv(dev); struct phy_device *phy; int err; - int i; if (priv->phy_id != -1) { phy = priv->mdio->phy_map[priv->phy_id];