From patchwork Fri Feb 25 01:08:09 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Li X-Patchwork-Id: 12759503 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6185BC433F5 for ; Fri, 25 Feb 2022 01:08:17 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A045C8D0002; Thu, 24 Feb 2022 20:08:16 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 9B3038D0001; Thu, 24 Feb 2022 20:08:16 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8C9298D0002; Thu, 24 Feb 2022 20:08:16 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0217.hostedemail.com [216.40.44.217]) by kanga.kvack.org (Postfix) with ESMTP id 7BF418D0001 for ; Thu, 24 Feb 2022 20:08:16 -0500 (EST) Received: from smtpin31.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 2553A8249980 for ; Fri, 25 Feb 2022 01:08:16 +0000 (UTC) X-FDA: 79179516192.31.58F32F0 Received: from out30-57.freemail.mail.aliyun.com (out30-57.freemail.mail.aliyun.com [115.124.30.57]) by imf01.hostedemail.com (Postfix) with ESMTP id D4E9940006 for ; Fri, 25 Feb 2022 01:08:14 +0000 (UTC) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R181e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e01424;MF=yang.lee@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0V5QpB06_1645751290; Received: from localhost(mailfrom:yang.lee@linux.alibaba.com fp:SMTPD_---0V5QpB06_1645751290) by smtp.aliyun-inc.com(127.0.0.1); Fri, 25 Feb 2022 09:08:11 +0800 From: Yang Li To: akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Yang Li , Abaci Robot Subject: [PATCH -next] mm/pagewalk: remove unneeded semicolon Date: Fri, 25 Feb 2022 09:08:09 +0800 Message-Id: <20220225010809.125947-1-yang.lee@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c MIME-Version: 1.0 Authentication-Results: imf01.hostedemail.com; dkim=none; dmarc=pass (policy=none) header.from=alibaba.com; spf=pass (imf01.hostedemail.com: domain of yang.lee@linux.alibaba.com designates 115.124.30.57 as permitted sender) smtp.mailfrom=yang.lee@linux.alibaba.com X-Rspam-User: X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: D4E9940006 X-Stat-Signature: arpy8axskmyw9jiy4q1ttpbxq1trqnjs X-HE-Tag: 1645751294-831704 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Eliminate the following coccicheck warning: ./mm/pagewalk.c:459:35-36: Unneeded semicolon Reported-by: Abaci Robot Signed-off-by: Yang Li --- mm/pagewalk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/pagewalk.c b/mm/pagewalk.c index fdfea080c5ff..53e5c145fcce 100644 --- a/mm/pagewalk.c +++ b/mm/pagewalk.c @@ -456,7 +456,7 @@ int walk_page_range(struct mm_struct *mm, unsigned long start, } else { /* inside vma */ walk.vma = vma; next = min(end, vma->vm_end); - vma = find_vma(mm, vma->vm_end);; + vma = find_vma(mm, vma->vm_end); err = walk_page_test(start, next, &walk); if (err > 0) {