[PATCH v2] speakup: speakup_soft: fix comment style and repeated word

Francisco Maestre posted 1 patch 1 month, 1 week ago
drivers/accessibility/speakup/speakup_soft.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
[PATCH v2] speakup: speakup_soft: fix comment style and repeated word
Posted by Francisco Maestre 1 month, 1 week ago
Fix two comment style issues in speakup_soft.c:

- Remove duplicated word 'the' in a block comment ('the the' -> 'the')
- Move the closing '*/' of the block comment to its own line, as
  required by the kernel coding style

Signed-off-by: Francisco Maestre <francisco@maestretorreblanca.com>
---
v2: Resend as individual patch, not part of an unrelated series.
 drivers/accessibility/speakup/speakup_soft.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/drivers/accessibility/speakup/speakup_soft.c b/drivers/accessibility/speakup/speakup_soft.c
index 6d446824677b..57d83b82f1d1 100644
--- a/drivers/accessibility/speakup/speakup_soft.c
+++ b/drivers/accessibility/speakup/speakup_soft.c
@@ -446,8 +446,9 @@ 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
-	 * accordingly, so it properly tunes speaking A_PUNC characters */
+	/* 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)
 		return 0;
-- 
2.50.1 (Apple Git-155)