aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang wangx <wangxiang@cdjrlc.com>2022-06-18 21:16:26 +0800
committerDavid S. Miller <davem@davemloft.net>2022-06-19 11:29:28 +0100
commita278bfb242982b91db7b742852b0d33c3168a479 (patch)
tree460bdfb874a90ee45135082dfc12c39aba2411ad
parentRevert "nfp: update nfp_X logging definitions" (diff)
downloadlinux-dev-a278bfb242982b91db7b742852b0d33c3168a479.tar.xz
linux-dev-a278bfb242982b91db7b742852b0d33c3168a479.zip
net: emac: Fix typo in a comment
Delete the redundant word 'and'. Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/qualcomm/emac/emac-mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qualcomm/emac/emac-mac.c b/drivers/net/ethernet/qualcomm/emac/emac-mac.c
index 06104d2ff5b3..80c95c331c82 100644
--- a/drivers/net/ethernet/qualcomm/emac/emac-mac.c
+++ b/drivers/net/ethernet/qualcomm/emac/emac-mac.c
@@ -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
* maximum-sized SKB. We need one desc for each fragment,
* 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))
netif_stop_queue(adpt->netdev);