2022-07-09 12:45:27

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] wifi: wcn36xx: fix repeated words in comments

Delete the redundant word 'the'.

Signed-off-by: Jilin Yuan <[email protected]>
---
drivers/net/wireless/ath/wcn36xx/hal.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h
index 46a49f0a51b3..a1afe1f85f0e 100644
--- a/drivers/net/wireless/ath/wcn36xx/hal.h
+++ b/drivers/net/wireless/ath/wcn36xx/hal.h
@@ -1961,7 +1961,7 @@ struct wcn36xx_hal_config_bss_params {

/* HAL should update the existing BSS entry, if this flag is set.
* UMAC will set this flag in case of reassoc, where we want to
- * resue the the old BSSID and still return success 0 = Add, 1 =
+ * resue the old BSSID and still return success 0 = Add, 1 =
* Update */
u8 action;

@@ -2098,7 +2098,7 @@ struct wcn36xx_hal_config_bss_params_v1 {

/* HAL should update the existing BSS entry, if this flag is set.
* UMAC will set this flag in case of reassoc, where we want to
- * resue the the old BSSID and still return success 0 = Add, 1 =
+ * resue the old BSSID and still return success 0 = Add, 1 =
* Update */
u8 action;

@@ -4142,7 +4142,7 @@ struct wcn36xx_hal_dump_cmd_rsp_msg {
/* Length of the responce message */
u32 rsp_length;

- /* FIXME: Currently considering the the responce will be less than
+ /* FIXME: Currently considering the responce will be less than
* 100bytes */
u8 rsp_buffer[DUMPCMD_RSP_BUFFER];
} __packed;
--
2.36.1


2022-07-09 19:50:51

by Joe Perches

[permalink] [raw]
Subject: Re: [PATCH] wifi: wcn36xx: fix repeated words in comments

On Sat, 2022-07-09 at 20:43 +0800, Jilin Yuan wrote:
> Delete the redundant word 'the'.
[]
> diff --git a/drivers/net/wireless/ath/wcn36xx/hal.h b/drivers/net/wireless/ath/wcn36xx/hal.h
[]
> @@ -1961,7 +1961,7 @@ struct wcn36xx_hal_config_bss_params {
>
> /* HAL should update the existing BSS entry, if this flag is set.
> * UMAC will set this flag in case of reassoc, where we want to
> - * resue the the old BSSID and still return success 0 = Add, 1 =
> + * resue the old BSSID and still return success 0 = Add, 1 =


s/resue/reuse/

> * Update */
> u8 action;
>
> @@ -2098,7 +2098,7 @@ struct wcn36xx_hal_config_bss_params_v1 {
>
> /* HAL should update the existing BSS entry, if this flag is set.
> * UMAC will set this flag in case of reassoc, where we want to
> - * resue the the old BSSID and still return success 0 = Add, 1 =
> + * resue the old BSSID and still return success 0 = Add, 1 =

here too

> * Update */
> u8 action;
>
> @@ -4142,7 +4142,7 @@ struct wcn36xx_hal_dump_cmd_rsp_msg {
> /* Length of the responce message */
> u32 rsp_length;
>
> - /* FIXME: Currently considering the the responce will be less than
> + /* FIXME: Currently considering the responce will be less than

s/responce/response/

> * 100bytes */
> u8 rsp_buffer[DUMPCMD_RSP_BUFFER];
> } __packed;