| From: Yang Li <yang.lee@linux.alibaba.com> |
| Subject: fs/proc/base.c: remove unneeded semicolon |
| Date: Thu, 26 Oct 2023 08:56:34 +0800 |
| |
| ./fs/proc/base.c:3829:2-3: Unneeded semicolon |
| |
| Link: https://lkml.kernel.org/r/20231026005634.6581-1-yang.lee@linux.alibaba.com |
| Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> |
| Reported-by: Abaci Robot <abaci@linux.alibaba.com> |
| Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7057 |
| Acked-by: Oleg Nesterov <oleg@redhat.com> |
| Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
| --- |
| |
| fs/proc/base.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| --- a/fs/proc/base.c~fs-remove-unneeded-semicolon |
| +++ a/fs/proc/base.c |
| @@ -3826,7 +3826,7 @@ static struct task_struct *first_tid(str |
| for_each_thread(task, pos) { |
| if (!nr--) |
| goto found; |
| - }; |
| + } |
| fail: |
| pos = NULL; |
| goto out; |
| _ |