Commit a278bfb2 authored by Xiang wangx's avatar Xiang wangx Committed by David S. Miller

net: emac: Fix typo in a comment

Delete the redundant word 'and'.
Signed-off-by: default avatarXiang wangx <wangxiang@cdjrlc.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 41a36d4e
...@@ -1465,7 +1465,7 @@ netdev_tx_t emac_mac_tx_buf_send(struct emac_adapter *adpt, ...@@ -1465,7 +1465,7 @@ netdev_tx_t emac_mac_tx_buf_send(struct emac_adapter *adpt,
/* Make sure the are enough free descriptors to hold one /* Make sure the are enough free descriptors to hold one
* maximum-sized SKB. We need one desc for each fragment, * maximum-sized SKB. We need one desc for each fragment,
* one for the checksum (emac_tso_csum), one for TSO, and * one for the checksum (emac_tso_csum), one for TSO, and
* and one for the SKB header. * one for the SKB header.
*/ */
if (emac_tpd_num_free_descs(tx_q) < (MAX_SKB_FRAGS + 3)) if (emac_tpd_num_free_descs(tx_q) < (MAX_SKB_FRAGS + 3))
netif_stop_queue(adpt->netdev); netif_stop_queue(adpt->netdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment