Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp768550rdb; Thu, 24 Aug 2023 23:49:41 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGODOHKa216RTdz8IX11xisQtsHooctM/LaOJ8qjwt8bsnoelrqQmXI/z3KqHLOKdHkEOiz X-Received: by 2002:a17:902:d2c2:b0:1c0:83ef:e0f1 with SMTP id n2-20020a170902d2c200b001c083efe0f1mr12341268plc.52.1692946181479; Thu, 24 Aug 2023 23:49:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692946181; cv=none; d=google.com; s=arc-20160816; b=yqsU9RHx5goq8R+5GJQqJFvuc0NDrvQmhVX19liBEl1BmZ7UwHD/+F2QoSgNwEsFkP HxS8pH73xqt6OV9zcXmPzA62TBT6B8Pc4v6Nj9E9v97wbKd0UjL5BuuuN1mSOi0+UJG8 vgk8HKMeTd30vhymli4ASae4GLbU+eygXplxnoUvS5qSwIWIoWozy8TG6UEue9o5/sQ3 R0qiyfXqJURcFipPAtX8DoGTt2y1aFM/mr5T0Ec7pXLiNyjGC/wDwkPCD37R+OtxQZqj x/kT4vu4WeVoIUPbz+Fipt5g7C9EkL6jlyYJMxmK3ZuYsJmC1kFlHaaay98V4tmJvX8m tNmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=WnDRkiNpqPJJFZvJIZVM974C8scergTZyd8lzA9dgyE=; fh=4ZPLlnneAr4+RWNxSDB1pUpLBZrtUOUcVWYRsvcEybA=; b=atXT+6QayILfURsUmcpJkXEVeGM+VY9QfJ7lc5e5ImDE8YWEPSQL3dQdoq+X5q4Lwj ypg7Uo12GSifh8YQ0F5ZWJrPflBh9AKLWaXAn4l/x7REC5JTfxAVLNQHkeuvQm5jCfqI t+ESbqy41Idtyx3XtU7AcrCNyuXeua+NeC0AK9b8LbltBUmmGFkJcvdA9i+NWEFhdj2u Y1TDIBmhsMiacv20LLbTS9LfldCEAaIXxscO3jgND4AAOnzud+4zLS26SPs5K1NA+37J bz5nKgGP31wvgSBfA8583HAZfe4ZlrW4tZj1SRmL4mHq4UVXdJsvtW21dS6WLMPfx8NY y99Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x13-20020a17090300cd00b001b6c462acbdsi1073208plc.15.2023.08.24.23.49.24; Thu, 24 Aug 2023 23:49:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236443AbjHYD5q (ORCPT + 99 others); Thu, 24 Aug 2023 23:57:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240621AbjHYD5i (ORCPT ); Thu, 24 Aug 2023 23:57:38 -0400 Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1A63F1FC3; Thu, 24 Aug 2023 20:57:35 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R311e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VqVf4TO_1692935851; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VqVf4TO_1692935851) by smtp.aliyun-inc.com; Fri, 25 Aug 2023 11:57:33 +0800 From: Jiapeng Chong To: brauner@kernel.org Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH] proc: remove unneeded semicolon Date: Fri, 25 Aug 2023 11:57:30 +0800 Message-Id: <20230825035730.115340-1-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org No functional modification involved. ./fs/proc/base.c:3821:2-3: Unneeded semicolon. Reported-by: Abaci Robot Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6227 Signed-off-by: Jiapeng Chong --- 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 ffd54617c354..989463f7ec13 100644 --- a/fs/proc/base.c +++ b/fs/proc/base.c @@ -3818,7 +3818,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