2023-09-19 07:46:05

by huangli05

[permalink] [raw]
Subject: [PATCH] staging: speakup: modify syntax errors in comments

From: “huangli05“ <[email protected]>

Change "/* We want to set the the speech synthesis" to "/* We want to set the speech synthesis"

Signed-off-by: “huangli05“ <[email protected]>
---
drivers/accessibility/speakup/speakup_soft.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/accessibility/speakup/speakup_soft.c b/drivers/accessibility/speakup/speakup_soft.c
index 6d446824677b..6549bfb96e7f 100644
--- a/drivers/accessibility/speakup/speakup_soft.c
+++ b/drivers/accessibility/speakup/speakup_soft.c
@@ -446,7 +446,7 @@ static int softsynth_adjust(struct spk_synth *synth, struct st_var_header *var)
if (var->var_id != PUNC_LEVEL)
return 0;

- /* We want to set the the speech synthesis punctuation level
+ /* We want to set the speech synthesis punctuation level
* accordingly, so it properly tunes speaking A_PUNC characters */
var_data = var->data;
if (!var_data)
--
2.31.1


2023-09-19 08:20:44

by Samuel Thibault

[permalink] [raw]
Subject: Re: [PATCH] staging: speakup: modify syntax errors in comments

huangli05, le mar. 19 sept. 2023 15:42:06 +0800, a ecrit:
> From: “huangli05“ <[email protected]>
>
> Change "/* We want to set the the speech synthesis" to "/* We want to set the speech synthesis"
>
> Signed-off-by: “huangli05“ <[email protected]>

Reviewed-by: Samuel Thibault <[email protected]>

> ---
> drivers/accessibility/speakup/speakup_soft.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/accessibility/speakup/speakup_soft.c b/drivers/accessibility/speakup/speakup_soft.c
> index 6d446824677b..6549bfb96e7f 100644
> --- a/drivers/accessibility/speakup/speakup_soft.c
> +++ b/drivers/accessibility/speakup/speakup_soft.c
> @@ -446,7 +446,7 @@ static int softsynth_adjust(struct spk_synth *synth, struct st_var_header *var)
> if (var->var_id != PUNC_LEVEL)
> return 0;
>
> - /* We want to set the the speech synthesis punctuation level
> + /* We want to set the speech synthesis punctuation level
> * accordingly, so it properly tunes speaking A_PUNC characters */
> var_data = var->data;
> if (!var_data)
> --
> 2.31.1
>