ntfs: Remove unneeded semicolon

Message ID 20221105153135.5975-1-dengshaomin@cdjrlc.com
State New
Headers
Series ntfs: Remove unneeded semicolon |

Commit Message

Shaomin Deng Nov. 5, 2022, 3:31 p.m. UTC
  Remove the unneeded semicolon after curly braces.

Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
---
 fs/ntfs/super.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Namjae Jeon May 6, 2023, 1:06 a.m. UTC | #1
2022-11-06 0:31 GMT+09:00, Shaomin Deng <dengshaomin@cdjrlc.com>:
> Remove the unneeded semicolon after curly braces.
>
> Signed-off-by: Shaomin Deng <dengshaomin@cdjrlc.com>
Reviewed-by: Namjae Jeon <linkinjeon@kernel.org>

> ---
>  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 001f4e053c85..6165fe7d0ac6 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.35.1
>
>
  
Christian Brauner May 19, 2023, 10:01 a.m. UTC | #2
On Sat, 05 Nov 2022 11:31:35 -0400, Shaomin Deng wrote:
> Remove the unneeded semicolon after curly braces.
> 
> 

Applied to the fs.ntfs branch of the vfs/vfs.git tree.
Patches in the fs.ntfs branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: fs.ntfs

[1/1] ntfs: Remove unneeded semicolon
      https://git.kernel.org/vfs/vfs/c/6405fee9b0d0
  

Patch

diff --git a/fs/ntfs/super.c b/fs/ntfs/super.c
index 001f4e053c85..6165fe7d0ac6 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)