[PATCH] ntfs: Remove unneeded semicolon

Chen Ni posted 1 patch 1 month, 1 week ago
fs/ntfs/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] ntfs: Remove unneeded semicolon
Posted by Chen Ni 1 month, 1 week ago
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 fs/ntfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 3f559df4856b..830dfc5aed2d 100644
--- a/fs/ntfs/super.c
+++ b/fs/ntfs/super.c
@@ -1337,7 +1337,7 @@ static bool load_and_init_upcase(struct ntfs_volume *vol)
 				addr, size);
 		kunmap_local(addr);
 		folio_put(folio);
-	};
+	}
 	if (size == PAGE_SIZE) {
 		size = i_size & ~PAGE_MASK;
 		if (size)
-- 
2.25.1
Re: [PATCH] ntfs: Remove unneeded semicolon
Posted by Namjae Jeon 1 month, 1 week ago
On Thu, Feb 26, 2026 at 10:47 AM Chen Ni <nichen@iscas.ac.cn> wrote:
>
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
>
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Applied it to #ntfs-next.
Thanks!
Re: [PATCH] ntfs: Remove unneeded semicolon
Posted by Hyunchul Lee 1 month, 1 week ago
On Thu, Feb 26, 2026 at 09:45:28AM +0800, Chen Ni wrote:
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> Signed-off-by: Chen Ni <nichen@iscas.ac.cn>

Looks good to me. Thanks for the patch, Chen.

Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>

> ---
>  fs/ntfs/super.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
> index 3f559df4856b..830dfc5aed2d 100644
> --- a/fs/ntfs/super.c
> +++ b/fs/ntfs/super.c
> @@ -1337,7 +1337,7 @@ static bool load_and_init_upcase(struct ntfs_volume *vol)
>  				addr, size);
>  		kunmap_local(addr);
>  		folio_put(folio);
> -	};
> +	}
>  	if (size == PAGE_SIZE) {
>  		size = i_size & ~PAGE_MASK;
>  		if (size)
> -- 
> 2.25.1
> 

-- 
Thanks,
Hyunchul