aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-thunder.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/phy/mdio-thunder.c')
-rw-r--r--drivers/net/phy/mdio-thunder.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-thunder.c b/drivers/net/phy/mdio-thunder.c
index 564616968cad..c0c922eff760 100644
--- a/drivers/net/phy/mdio-thunder.c
+++ b/drivers/net/phy/mdio-thunder.c
@@ -129,7 +129,6 @@ static void thunder_mdiobus_pci_remove(struct pci_dev *pdev)
continue;
mdiobus_unregister(bus->mii_bus);
- mdiobus_free(bus->mii_bus);
oct_mdio_writeq(0, bus->register_base + SMI_EN);
}
pci_set_drvdata(pdev, NULL);