r8169: remove remaining call to mdiobus_unregister

After having switched to devm_mdiobus_register() also this remaining
call to mdiobus_unregister() can be removed.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Heiner Kallweit 2020-05-17 00:05:08 +02:00 committed by David S. Miller
parent 1ab9b5eabb
commit 13f15b59ad
1 changed files with 0 additions and 1 deletions

View File

@ -4990,7 +4990,6 @@ static void rtl_remove_one(struct pci_dev *pdev)
netif_napi_del(&tp->napi); netif_napi_del(&tp->napi);
unregister_netdev(dev); unregister_netdev(dev);
mdiobus_unregister(tp->phydev->mdio.bus);
rtl_release_firmware(tp); rtl_release_firmware(tp);