[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20211105013954.75112-1-zhang.mingyu@zte.com.cn>
Date: Fri, 5 Nov 2021 01:39:54 +0000
From: cgel.zte@...il.com
To: anton@...era.com
Cc: linux-ntfs-dev@...ts.sourceforge.net, linux-kernel@...r.kernel.org,
Zhang Mingyu <zhang.mingyu@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: [PATCH] ntfs:Remove unneeded semicolon
From: Zhang Mingyu <zhang.mingyu@....com.cn>
Eliminate the following coccinelle check warning:
fs/ntfs/super.c:1615:2-3
fs/ntfs/super.c:1684:2-3
Reported-by: Zeal Robot <zealci@....com.cn>
Signed-off-by: Zhang Mingyu <zhang.mingyu@....com.cn>
---
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 5ae8de09b271..500e6bd7c827 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)
--
2.25.1
Powered by blists - more mailing lists