Skip to content

Commit

Permalink
r8169: remove remaining call to mdiobus_unregister
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiner Kallweit authored and David S. Miller committed May 16, 2020
1 parent 1ab9b5e commit 13f15b5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/net/ethernet/realtek/r8169_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 13f15b5

Please sign in to comment.