From: Yang Li Date: Thu, 26 Oct 2023 00:56:34 +0000 (+0800) Subject: fs/proc/base.c: remove unneeded semicolon X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=639931020e1a70308a5c71f4702443429cb6899c;p=linux.git fs/proc/base.c: remove unneeded semicolon ./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 Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7057 Acked-by: Oleg Nesterov Signed-off-by: Andrew Morton --- diff --git a/fs/proc/base.c b/fs/proc/base.c index ca4f0ce64df65..b13d3e804deba 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3826,7 +3826,7 @@ static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, for_each_thread(task, pos) { if (!nr--) goto found; - }; + } fail: pos = NULL; goto out;