Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323241
b: refs/heads/master
c: df555b6
h: refs/heads/master
i:
  323239: 568695d
v: v3
  • Loading branch information
Wei Yongjun authored and David S. Miller committed Sep 28, 2012
1 parent 15bcc44 commit 8014351
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: bc9259a8bae9e814fc1f775a1b3effa13e6ad330
refs/heads/master: df555b665367f9de6c04826acc482096f17c243d
4 changes: 1 addition & 3 deletions trunk/drivers/net/ethernet/octeon/octeon_mgmt.c
Original file line number Diff line number Diff line change
Expand Up @@ -722,10 +722,8 @@ static int octeon_mgmt_init_phy(struct net_device *netdev)
octeon_mgmt_adjust_link, 0,
PHY_INTERFACE_MODE_MII);

if (IS_ERR(p->phydev)) {
p->phydev = NULL;
if (!p->phydev)
return -1;
}

phy_start_aneg(p->phydev);

Expand Down

0 comments on commit 8014351

Please sign in to comment.