Skip to contentSkip to conversation

net: ieee802154: ca8210: Fix comment typo

PATCH In review Jason Wang 2 participants 2 messages Jul 18, 2022

Subsystems (4)
lore
Share & tools
lore

Jason Wang

author
#0 lore raw

PATCH 1/1 net: ieee802154: ca8210: Fix comment typo

The double `was' is duplicated in line 2296, remove one.

---
 drivers/net/ieee802154/ca8210.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ieee802154/ca8210.c +1 -1
index 42c0b451088d..450b16ad40a4 100644
@@ -2293,7 +2293,7 @@ static int ca8210_set_csma_params(
  * @retries:  Number of retries
  *
  * Sets the number of times to retry a transmission if no acknowledgment was
- * was received from the other end when one was requested.
+ * received from the other end when one was requested.
  *
  * Return: 0 or linux error code
  */
Signature · 1 line
2.35.1
maintainer
#1 lore raw

Hello.

Quoted 12 lines · Jason Wang

The double `was' is duplicated in line 2296, remove one.

---
  drivers/net/ieee802154/ca8210.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ieee802154/ca8210.c +0 -0
index 42c0b451088d..450b16ad40a4 100644

drivers/net/ieee802154/ca8210.c static int ca8210_set_csma_params( · line 2299

Quoted 8 lines
drivers/net/ieee802154/ca8210.c +1 -1
@@ -2293,7 +2293,7 @@ static int ca8210_set_csma_params(
   * @retries:  Number of retries
   *
   * Sets the number of times to retry a transmission if no acknowledgment was
- * was received from the other end when one was requested.
+ * received from the other end when one was requested.
   *
   * Return: 0 or linux error code
   */

A similar patch was submit a week ago which I finally applied today. Which means this patch has not been applied as the problem is gone.

regards
Stefan Schmidt