summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang wangx <wangxiang@cdjrlc.com>2022-06-18 15:16:26 +0200
committerDavid S. Miller <davem@davemloft.net>2022-06-19 12:29:28 +0200
commita278bfb242982b91db7b742852b0d33c3168a479 (patch)
tree460bdfb874a90ee45135082dfc12c39aba2411ad
parentRevert "nfp: update nfp_X logging definitions" (diff)
downloadlinux-a278bfb242982b91db7b742852b0d33c3168a479.tar.xz
linux-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);