Skip to contentSkip to conversation

ntfs: Remove unneeded semicolon

PATCH Applied Chen Ni 3 participants 3 messages Feb 26

Subsystems (2)
lore
Share & tools
lore

Chen Ni

author
#0 lore raw

PATCH 1/1 ntfs: Remove unneeded semicolon

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci.

---
 fs/ntfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/super.c +1 -1
index 3f559df4856b..830dfc5aed2d 100644
@@ -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)
Signature · 1 line
2.25.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Chen Ni

Remove unnecessary semicolons reported by Coccinelle/coccicheck and the semantic patch at scripts/coccinelle/misc/semicolon.cocci.

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

Quoted 20 lines
---
 fs/ntfs/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ntfs/super.c +1 -1
index 3f559df4856b..830dfc5aed2d 100644
@@ -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)
Signature · 1 line
2.25.1
Signature · 2 lines
Thanks,
Hyunchul