mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-19 12:24:34 +08:00
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:
parent
beeb4ca466
commit
13439eec7a
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user