2022-08-14 10:05:39

by Jilin Yuan

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

Delete the redundant word 'doesn't'.

Signed-off-by: Jilin Yuan <[email protected]>
---
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


2022-08-16 07:34:46

by Paul Moore

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

On Sun, Aug 14, 2022 at 5:40 AM Jilin Yuan <[email protected]> wrote:
>
> Delete the redundant word 'doesn't'.
>
> Signed-off-by: Jilin Yuan <[email protected]>
> ---
> kernel/auditsc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Merged into audit/next.

--
paul-moore.com