From patchwork Mon Jun 21 08:20:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Esben Haabendal X-Patchwork-Id: 12334097 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 34E50C48BE5 for ; Mon, 21 Jun 2021 08:20:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 12FD2611C1 for ; Mon, 21 Jun 2021 08:20:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230137AbhFUIWZ (ORCPT ); Mon, 21 Jun 2021 04:22:25 -0400 Received: from first.geanix.com ([116.203.34.67]:58034 "EHLO first.geanix.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229641AbhFUIWZ (ORCPT ); Mon, 21 Jun 2021 04:22:25 -0400 Received: from localhost (80-62-117-165-mobile.dk.customer.tdc.net [80.62.117.165]) by first.geanix.com (Postfix) with ESMTPSA id 6D1734C326A; Mon, 21 Jun 2021 08:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=geanix.com; s=first; t=1624263609; bh=S+se73egPywLKSHDrqIVcIlWhwgjZ5Op011LkNiDG+I=; h=From:To:Subject:Date; b=iCq/2UUPKG2zNloXmruyGKC3nlpkU/olBmHGsJwiF5LY+haKl9wYrHp1H7T/6UUHe ET/NhDmGWTUjBWhjhP+ztUuj5KV1iV+wqacrKbUH816sLakbmEzMR2+s7Zj3m10p3P RvuvJKZApI85LSG5zxLW5ZUtNflGIJ+k0QDVeaqHdnT3moXNdvLduPXLrqMvJxdt3z jBHkSquTg+dNJy3Ryu8sWEegaEu0VCXVx9gf6X/FYr2Frn8jlQzVLG7jUn3hCM5NXs K9g0os9xdX4Hniuatz+sTrME6/Z7QfM4Ms1INlF8yr0xQwKNjgY1KUD8+32XzTKOMJ 6SSlLGPqa7grA== From: Esben Haabendal To: "David S . Miller" , Jakub Kicinski , netdev@vger.kernel.org Subject: [PATCH] net: ll_temac: Remove left-over debug message Date: Mon, 21 Jun 2021 10:20:08 +0200 Message-Id: X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Fixes: f63963411942 ("net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY") Signed-off-by: Esben Haabendal --- drivers/net/ethernet/xilinx/ll_temac_main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/net/ethernet/xilinx/ll_temac_main.c b/drivers/net/ethernet/xilinx/ll_temac_main.c index 9a13953ea70f..60a4f79b8fa1 100644 --- a/drivers/net/ethernet/xilinx/ll_temac_main.c +++ b/drivers/net/ethernet/xilinx/ll_temac_main.c @@ -942,10 +942,8 @@ temac_start_xmit(struct sk_buff *skb, struct net_device *ndev) wmb(); lp->dma_out(lp, TX_TAILDESC_PTR, tail_p); /* DMA start */ - if (temac_check_tx_bd_space(lp, MAX_SKB_FRAGS + 1)) { - netdev_info(ndev, "%s -> netif_stop_queue\n", __func__); + if (temac_check_tx_bd_space(lp, MAX_SKB_FRAGS + 1)) netif_stop_queue(ndev); - } return NETDEV_TX_OK; }