net: bcmgenet: Remove TX ring full logging
authorFlorian Fainelli <florian.fainelli@broadcom.com>
Fri, 28 Jul 2023 18:39:45 +0000 (11:39 -0700)
committerJakub Kicinski <kuba@kernel.org>
Mon, 31 Jul 2023 21:42:08 +0000 (14:42 -0700)
There is no need to spam the kernel log with such an indication, remove
this message.

Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230728183945.760531-1-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/genet/bcmgenet.c

index 2b5761ad2f92f1f0be680e56981a6ca8266c7d9b..24bade875ca6a118497b085362fef06028af0bef 100644 (file)
@@ -2077,12 +2077,8 @@ static netdev_tx_t bcmgenet_xmit(struct sk_buff *skb, struct net_device *dev)
 
        spin_lock(&ring->lock);
        if (ring->free_bds <= (nr_frags + 1)) {
-               if (!netif_tx_queue_stopped(txq)) {
+               if (!netif_tx_queue_stopped(txq))
                        netif_tx_stop_queue(txq);
-                       netdev_err(dev,
-                                  "%s: tx ring %d full when queue %d awake\n",
-                                  __func__, index, ring->queue);
-               }
                ret = NETDEV_TX_BUSY;
                goto out;
        }