diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2023-10-26 08:56:34 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-11-01 12:46:59 -0700 |
commit | 639931020e1a70308a5c71f4702443429cb6899c (patch) | |
tree | 726ec10f36c880bdce86f89902e9101278e2028b /fs/proc | |
parent | 1df4bd83cdfdbd0720ddb2c6488b7e9a432ba468 (diff) |
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 <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>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/base.c b/fs/proc/base.c index ca4f0ce64df6..b13d3e804deb 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; |