summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2010-06-11 04:47:38 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-11 22:28:36 +0200
commit2cbc8ef9facf60afa62e04bde91fb5fcac9a5683 (patch)
tree199a6fdea0b04a3cd0bc359045f15c8938a1764e /drivers
parentethoc: Clean up PHY probing (diff)
downloadlinux-2cbc8ef9facf60afa62e04bde91fb5fcac9a5683.tar.xz
linux-2cbc8ef9facf60afa62e04bde91fb5fcac9a5683.zip
Remove unused variable
Signed-off-by: Jonas Bonn <jonas@southpole.se> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-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)
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];