projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net: stmmac: make the pcs_lynx cleanup sequence specific to dwmac_socfpga
[platform/kernel/linux-starfive.git]
/
drivers
/
net
/
ethernet
/
stmicro
/
stmmac
/
stmmac_mdio.c
diff --git
a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
index
c784a67
..
3db1cb0
100644
(file)
--- a/
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
+++ b/
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
@@
-665,9
+665,6
@@
int stmmac_mdio_unregister(struct net_device *ndev)
if (priv->hw->xpcs)
xpcs_destroy(priv->hw->xpcs);
- if (priv->hw->lynx_pcs)
- lynx_pcs_destroy(priv->hw->lynx_pcs);
-
mdiobus_unregister(priv->mii);
priv->mii->priv = NULL;
mdiobus_free(priv->mii);