Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp391825ybz; Tue, 21 Apr 2020 23:49:40 -0700 (PDT) X-Google-Smtp-Source: APiQypK5O92G6PuekfOOlRFjNGUMdgdRv5LXOOYVzcqlDseptHvjtKgcN8C5ulmrsBmu1nZ6BFWB X-Received: by 2002:aa7:c753:: with SMTP id c19mr4311237eds.21.1587538180165; Tue, 21 Apr 2020 23:49:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587538180; cv=none; d=google.com; s=arc-20160816; b=FSRMWneVDT9YbG4Tm3wpiSdAnbhCxfX+JkgoODC0RWUnDvyq5/Of2ige2tE0fIQFFf x2P9/I4LxP2WQNdNJ84szEnc5Ok/VqQfZnhJzszPKlo1txIbneidQ43xs86YBXKKiVOQ Gs6Dkh+5F76SIGHxbtUMhnjaXFWGD3p6ZEfnmKLClnZUX+xwRPQhEMmjbio4o9lQa0HP 9vUs50cTdtyuvv1eJDK51xpZ35/Uk51PXzXISJvhNC+dPzOsgQJk7TQwW7InngYYMzsy cLPJTj64xCWOvrAuHFyUB78mlF5IodaT1CXCYYp7xdPjXJsPQbextrK7VRtjxrRDaUmK k7OA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=VR/q7z6lGJO0iiIc+sAeI0MVU4iMQrews6G6x7IV3Kg=; b=lY2YScbagowquLcCI+TyWuvNl97gXGBcVZ/ULqlrrBxqy+RTBdqYPotMBZ/fULRCbh cdaTUS8Onot2qXaQNTZXNCBuqd8pdR5cazcFLC0SlCwxH6w+GrabcYsRhOE+tspm9BZO aArX5MEuQ6v9JKGg0IoPc4Tf+DDU7QDL0uKxygT5BR+avpRjv6Bz1F0eSWTUjX3O6eIp klnoImtSHC7oifsFfWq54yqJx6HTm0kHswBTIGg6g0w7BkZTJqQJmXWJupb6jdg7IiJM WLsfmHcDJA1KszvxIwTrOW8tBiZR9Hml9vRXRXTFnWlFSRDxwtzZjhVBZEg8ujGon5Uk cQGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p20si3100920ejw.505.2020.04.21.23.49.17; Tue, 21 Apr 2020 23:49:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725895AbgDVGqP (ORCPT + 99 others); Wed, 22 Apr 2020 02:46:15 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:2864 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725764AbgDVGqP (ORCPT ); Wed, 22 Apr 2020 02:46:15 -0400 Received: from DGGEMS411-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 70195140242CF1A3330A; Wed, 22 Apr 2020 14:46:10 +0800 (CST) Received: from huawei.com (10.175.105.27) by DGGEMS411-HUB.china.huawei.com (10.3.19.211) with Microsoft SMTP Server id 14.3.487.0; Wed, 22 Apr 2020 14:46:02 +0800 From: Wu Bo To: CC: , , , , Subject: [PATCH] fs:ntfs:remove unneeded semicolon in super.c Date: Wed, 22 Apr 2020 14:45:19 +0800 Message-ID: <1587537919-393126-1-git-send-email-wubo40@huawei.com> X-Mailer: git-send-email 1.8.3.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.175.105.27] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following coccicheck warning: fs/ntfs/super.c:1615:2-3: Unneeded semicolon fs/ntfs/super.c:1684:2-3: Unneeded semicolon Signed-off-by: Wu Bo --- fs/ntfs/super.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c index 7dc3bc6..d78d312 100644 --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c @@ -1612,7 +1612,7 @@ static bool load_and_init_attrdef(ntfs_volume *vol) memcpy((u8*)vol->attrdef + (index++ << PAGE_SHIFT), page_address(page), size); ntfs_unmap_page(page); - }; + } if (size == PAGE_SIZE) { size = i_size & ~PAGE_MASK; if (size) @@ -1681,7 +1681,7 @@ static bool load_and_init_upcase(ntfs_volume *vol) memcpy((char*)vol->upcase + (index++ << PAGE_SHIFT), page_address(page), size); ntfs_unmap_page(page); - }; + } if (size == PAGE_SIZE) { size = i_size & ~PAGE_MASK; if (size) -- 1.8.3.1