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

Commit 13439eec authored by John Crispin's avatar John Crispin Committed by David S. Miller
Browse files

net: mediatek: remove superfluous reset call



HW reset is triggered in the mtk_hw_init() function. There is no need to
also reset the core during probe.

Signed-off-by: default avatarJohn Crispin <blogic@openwrt.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent beeb4ca4
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1679,10 +1679,6 @@ static int mtk_probe(struct platform_device *pdev)
	struct mtk_eth *eth;
	int err;

	err = device_reset(&pdev->dev);
	if (err)
		return err;

	match = of_match_device(of_mtk_match, &pdev->dev);
	soc = (struct mtk_soc_data *)match->data;