Messages in this thread Patch in this message | | | From | Yang Li <> | Subject | [PATCH -next] fs: Remove unneeded semicolon | Date | Thu, 26 Oct 2023 08:56:34 +0800 |
| |
./fs/proc/base.c:3829:2-3: Unneeded semicolon
Reported-by: Abaci Robot <abaci@linux.alibaba.com> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7057 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> --- fs/proc/base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/proc/base.c b/fs/proc/base.c index bfe9547d16f9..dd31e3b6bf77 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; -- 2.20.1.7.g153144c
| |