aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethoc.c
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2010-06-10 22:47:38 -0400
committerDavid S. Miller <davem@davemloft.net>2010-06-11 16:28:36 -0400
commit2cbc8ef9facf60afa62e04bde91fb5fcac9a5683 (patch)
tree199a6fdea0b04a3cd0bc359045f15c8938a1764e /drivers/net/ethoc.c
parent637f33b80d774060646772a22fd728e198d9ebf9 (diff)
Remove unused variable
Signed-off-by: Jonas Bonn <jonas@southpole.se> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethoc.c')
-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];