[PATCH] kernel: fix repeated words in comments

Jilin Yuan posted 1 patch 3 years, 7 months ago
kernel/auditsc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] kernel: fix repeated words in comments
Posted by Jilin Yuan 3 years, 7 months ago
 Delete the redundant word 'doesn't'.

Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
---
 kernel/auditsc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index f3a2abd6d1a1..00d6e5130c24 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -1858,7 +1858,7 @@ void __audit_free(struct task_struct *tsk)
 
 	/* We are called either by do_exit() or the fork() error handling code;
 	 * in the former case tsk == current and in the latter tsk is a
-	 * random task_struct that doesn't doesn't have any meaningful data we
+	 * random task_struct that doesn't have any meaningful data we
 	 * need to log via audit_log_exit().
 	 */
 	if (tsk == current && !context->dummy) {
-- 
2.36.1
Re: [PATCH] kernel: fix repeated words in comments
Posted by Paul Moore 3 years, 7 months ago
On Sun, Aug 14, 2022 at 5:40 AM Jilin Yuan <yuanjilin@cdjrlc.com> wrote:
>
>  Delete the redundant word 'doesn't'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@cdjrlc.com>
> ---
>  kernel/auditsc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Merged into audit/next.

-- 
paul-moore.com