Revert "net: hisilicon: hip04: fix OF node leak in probe()"
This reverts commit 894592fa8b
.
This commit is contained in:
parent
fae39e1046
commit
312c6c6837
1 changed files with 0 additions and 1 deletions
|
@ -943,7 +943,6 @@ static int hip04_mac_probe(struct platform_device *pdev)
|
||||||
priv->tx_coalesce_timer.function = tx_done;
|
priv->tx_coalesce_timer.function = tx_done;
|
||||||
|
|
||||||
priv->map = syscon_node_to_regmap(arg.np);
|
priv->map = syscon_node_to_regmap(arg.np);
|
||||||
of_node_put(arg.np);
|
|
||||||
if (IS_ERR(priv->map)) {
|
if (IS_ERR(priv->map)) {
|
||||||
dev_warn(d, "no syscon hisilicon,hip04-ppe\n");
|
dev_warn(d, "no syscon hisilicon,hip04-ppe\n");
|
||||||
ret = PTR_ERR(priv->map);
|
ret = PTR_ERR(priv->map);
|
||||||
|
|
Loading…
Add table
Reference in a new issue