Skip to contentSkip to conversation

ntfs:Remove unneeded semicolon

PATCH New [email protected] 1 participant 1 message Nov 5, 2021 NTFS filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ntfs:Remove unneeded semicolon

From: Zhang Mingyu <[email protected]>

Eliminate the following coccinelle check warning:
fs/ntfs/super.c:1615:2-3
fs/ntfs/super.c:1684:2-3

---
 fs/ntfs/super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
fs/ntfs/super.c +2 -2
index 5ae8de09b271..500e6bd7c827 100644
@@ -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)
Signature · 1 line
2.25.1