From: Heiner Kallweit Date: Sat, 3 Sep 2022 11:15:13 +0000 (+0200) Subject: r8169: remove not needed net_ratelimit() check X-Git-Tag: v6.6.17~6504^2~255 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=96efd6d01461be234bfc4ca1048a3d5febf0c425;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index f174831..5a48f66 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)