Commit 3bb6397b authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "dpaa_eth: fix error in dpaa_remove()"

This reverts commit 5bbb99d2 which is
commit 88075256 upstream.

Jiri writes that this was an incorrect fix, and Madalin-cristian says it
was fixed differently in a later patch.  So just revert this from
4.14.y.
Reported-by: default avatarJiri Slaby <jslaby@suse.cz>
Cc: Madalin Bucur <madalin.bucur@nxp.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 42dc2a7b
......@@ -2863,7 +2863,7 @@ static int dpaa_remove(struct platform_device *pdev)
struct device *dev;
int err;
dev = pdev->dev.parent;
dev = &pdev->dev;
net_dev = dev_get_drvdata(dev);
priv = netdev_priv(net_dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment