2022-07-08 16:08:40

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] net/ieee802154: fix repeated words in comments

Delete the redundant word 'was'.

Signed-off-by: Jilin Yuan <[email protected]>
---
drivers/net/ieee802154/ca8210.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ieee802154/ca8210.c b/drivers/net/ieee802154/ca8210.c
index 42c0b451088d..450b16ad40a4 100644
--- a/drivers/net/ieee802154/ca8210.c
+++ b/drivers/net/ieee802154/ca8210.c
@@ -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
*/
--
2.36.1


2022-07-18 20:26:02

by Stefan Schmidt

[permalink] [raw]
Subject: Re: [PATCH] net/ieee802154: fix repeated words in comments


Hello.

On 08.07.22 17:15, Jilin Yuan wrote:
> Delete the redundant word 'was'.
>
> Signed-off-by: Jilin Yuan <[email protected]>
> ---
> drivers/net/ieee802154/ca8210.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ieee802154/ca8210.c b/drivers/net/ieee802154/ca8210.c
> index 42c0b451088d..450b16ad40a4 100644
> --- a/drivers/net/ieee802154/ca8210.c
> +++ b/drivers/net/ieee802154/ca8210.c
> @@ -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
> */


This patch has been applied to the wpan-next tree and will be
part of the next pull request to net-next. Thanks!

regards
Stefan Schmidt