diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-05-17 00:05:08 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-16 15:20:34 -0700 |
commit | 13f15b59ad70549545272cc8f0bf4d68a8ef9c14 (patch) | |
tree | 3b2ada7408f08242d0cb983f69a6b7995046cb78 /drivers | |
parent | 1ab9b5eabbab5427d4b36ab70816358c790bb192 (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index 97a7e27fff16..e35820c72264 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -4990,7 +4990,6 @@ static void rtl_remove_one(struct pci_dev *pdev) netif_napi_del(&tp->napi); unregister_netdev(dev); - mdiobus_unregister(tp->phydev->mdio.bus); rtl_release_firmware(tp); |