diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2022-09-03 13:15:13 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-09-05 14:49:59 +0100 |
commit | 96efd6d01461be234bfc4ca1048a3d5febf0c425 (patch) | |
tree | 2993b44e1497606f8137845a4a7ef89edeb3644c /drivers/net/ethernet/realtek | |
parent | 710d21fdff9a98d621cd4e64167f3ef8af4e2fd1 (diff) | |
download | linux-96efd6d01461be234bfc4ca1048a3d5febf0c425.tar.bz2 |
r8169: remove not needed net_ratelimit() check
We're not in a hot path and don't want to miss this message,
therefore remove the net_ratelimit() check.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169_main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index f17483191454..5a48f6641763 100644 --- a/drivers/net/ethernet/realtek/r8169_main.c +++ b/drivers/net/ethernet/realtek/r8169_main.c @@ -4567,8 +4567,7 @@ static void r8169_phylink_handler(struct net_device *ndev) pm_runtime_idle(&tp->pci_dev->dev); } - if (net_ratelimit()) - phy_print_status(tp->phydev); + phy_print_status(tp->phydev); } static int r8169_phy_connect(struct rtl8169_private *tp) |