Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 300446
b: refs/heads/master
c: cc90cb3
h: refs/heads/master
v: v3
  • Loading branch information
Srinivas Kandagatla authored and David S. Miller committed Apr 3, 2012
1 parent 140979a commit 16b11ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8bc47ec6efd4d447f3502d9f9d41fe440cd5854d
refs/heads/master: cc90cb3b2429a0f0681331fa5c501f91eee4f633
18 changes: 3 additions & 15 deletions trunk/drivers/net/phy/marvell.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,11 +455,7 @@ static int m88e1111_config_init(struct phy_device *phydev)
if (err < 0)
return err;

err = phy_write(phydev, MII_BMCR, BMCR_RESET);
if (err < 0)
return err;

return 0;
return phy_write(phydev, MII_BMCR, BMCR_RESET);
}

static int m88e1118_config_aneg(struct phy_device *phydev)
Expand Down Expand Up @@ -515,11 +511,7 @@ static int m88e1118_config_init(struct phy_device *phydev)
if (err < 0)
return err;

err = phy_write(phydev, MII_BMCR, BMCR_RESET);
if (err < 0)
return err;

return 0;
return phy_write(phydev, MII_BMCR, BMCR_RESET);
}

static int m88e1149_config_init(struct phy_device *phydev)
Expand All @@ -545,11 +537,7 @@ static int m88e1149_config_init(struct phy_device *phydev)
if (err < 0)
return err;

err = phy_write(phydev, MII_BMCR, BMCR_RESET);
if (err < 0)
return err;

return 0;
return phy_write(phydev, MII_BMCR, BMCR_RESET);
}

static int m88e1145_config_init(struct phy_device *phydev)
Expand Down

0 comments on commit 16b11ea

Please sign in to comment.