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: John Crispin <blogic@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
John Crispin 2016-04-08 00:54:06 +02:00 committed by David S. Miller
parent beeb4ca466
commit 13439eec7a
1 changed files with 0 additions and 4 deletions

View File

@ -1679,10 +1679,6 @@ static int mtk_probe(struct platform_device *pdev)
struct mtk_eth *eth; struct mtk_eth *eth;
int err; int err;
err = device_reset(&pdev->dev);
if (err)
return err;
match = of_match_device(of_mtk_match, &pdev->dev); match = of_match_device(of_mtk_match, &pdev->dev);
soc = (struct mtk_soc_data *)match->data; soc = (struct mtk_soc_data *)match->data;