aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethoc.c1
1 files changed, 0 insertions, 1 deletions
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)
636 struct ethoc *priv = netdev_priv(dev); 636 struct ethoc *priv = netdev_priv(dev);
637 struct phy_device *phy; 637 struct phy_device *phy;
638 int err; 638 int err;
639 int i;
640 639
641 if (priv->phy_id != -1) { 640 if (priv->phy_id != -1) {
642 phy = priv->mdio->phy_map[priv->phy_id]; 641 phy = priv->mdio->phy_map[priv->phy_id];