Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 327750
b: refs/heads/master
c: a5cf5ce
h: refs/heads/master
v: v3
  • Loading branch information
Srinivas Kandagatla authored and David S. Miller committed Aug 31, 2012
1 parent 31ac0f3 commit 435d5e5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fcb118491bc8bc16c4eeb8142366bcbe17fe615d
refs/heads/master: a5cf5ce92ecefcbeb3265e6f894905ab3ed5c4c2
3 changes: 3 additions & 0 deletions trunk/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,9 @@ int stmmac_mdio_unregister(struct net_device *ndev)
{
struct stmmac_priv *priv = netdev_priv(ndev);

if (!priv->mii)
return 0;

mdiobus_unregister(priv->mii);
priv->mii->priv = NULL;
mdiobus_free(priv->mii);
Expand Down

0 comments on commit 435d5e5

Please sign in to comment.