Commit 13f15b59 authored by Heiner Kallweit's avatar Heiner Kallweit Committed by David S. Miller

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: default avatarHeiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1ab9b5ea
...@@ -4990,7 +4990,6 @@ static void rtl_remove_one(struct pci_dev *pdev) ...@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment