Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);