Skip to content

Commit

Permalink
net: ll_temac: Remove left-over debug message
Browse files Browse the repository at this point in the history
commit ce03b94 upstream.

Fixes: f639634 ("net: ll_temac: Avoid ndo_start_xmit returning NETDEV_TX_BUSY")
Signed-off-by: Esben Haabendal <esben@geanix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
esben authored and gregkh committed Sep 12, 2021
1 parent 961447f commit f0c5328
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions drivers/net/ethernet/xilinx/ll_temac_main.c
Expand Up @@ -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;
}
Expand Down

0 comments on commit f0c5328

Please sign in to comment.