ar71xx: move mdio_bus reset code
[openwrt.git] / target / linux / ar71xx / files / drivers / net / ag71xx / ag71xx_main.c
index 88edb2f..be8db3e 100644 (file)
@@ -917,13 +917,6 @@ static int __init ag71xx_probe(struct platform_device *pdev)
 
        ag71xx_dump_regs(ag);
 
-       /* Reset the mdio bus explicitly */
-       if (ag->mii_bus) {
-               mutex_lock(&ag->mii_bus->mdio_lock);
-               ag->mii_bus->reset(ag->mii_bus);
-               mutex_unlock(&ag->mii_bus->mdio_lock);
-       }
-
        platform_set_drvdata(pdev, dev);
 
        return 0;
This page took 0.024364 seconds and 4 git commands to generate.