fs/ntfs/super.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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
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!
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
© 2016 - 2026 Red Hat, Inc.