mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 17:33:31 +00:00
mvebu: fixes commit (#1402)
1e3800df18
err_free_stats has been deprecated. Replace with err_netdev.
This commit is contained in:
parent
c3eb9166d1
commit
c450bd4b77
@ -905,7 +905,7 @@ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
|
||||
+ phylink = phylink_create(dev, dn, phy_mode, &mvneta_phylink_ops);
|
||||
+ if (IS_ERR(phylink)) {
|
||||
+ err = PTR_ERR(phylink);
|
||||
+ goto err_free_stats;
|
||||
+ goto err_netdev;
|
||||
+ }
|
||||
+
|
||||
+ pp->phylink = phylink;
|
||||
|
Loading…
Reference in New Issue
Block a user