[PATCH -next] xfs: Remove unneeded semicolon

Yang Li posted 1 patch 2 years, 7 months ago
fs/xfs/xfs_extfree_item.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH -next] xfs: Remove unneeded semicolon
Posted by Yang Li 2 years, 7 months ago
./fs/xfs/xfs_extfree_item.c:723:3-4: Unneeded semicolon

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5728
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 fs/xfs/xfs_extfree_item.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c
index cdd8ebb6e7cb..f1a5ecf099aa 100644
--- a/fs/xfs/xfs_extfree_item.c
+++ b/fs/xfs/xfs_extfree_item.c
@@ -720,7 +720,7 @@ xfs_efi_item_recover(
 				requeue_only = true;
 				continue;
 			}
-		};
+		}
 
 		if (error == -EFSCORRUPTED)
 			XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp,
-- 
2.20.1.7.g153144c
Re: [PATCH -next] xfs: Remove unneeded semicolon
Posted by Darrick J. Wong 2 years, 7 months ago
On Mon, Jul 03, 2023 at 09:21:31AM +0800, Yang Li wrote:
> ./fs/xfs/xfs_extfree_item.c:723:3-4: Unneeded semicolon
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5728
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
> ---
>  fs/xfs/xfs_extfree_item.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/xfs/xfs_extfree_item.c b/fs/xfs/xfs_extfree_item.c
> index cdd8ebb6e7cb..f1a5ecf099aa 100644
> --- a/fs/xfs/xfs_extfree_item.c
> +++ b/fs/xfs/xfs_extfree_item.c
> @@ -720,7 +720,7 @@ xfs_efi_item_recover(
>  				requeue_only = true;
>  				continue;
>  			}
> -		};
> +		}

Looks ok,
Reviewed-by: Darrick J. Wong <djwong@kernel.org>

--D

>  
>  		if (error == -EFSCORRUPTED)
>  			XFS_CORRUPTION_ERROR(__func__, XFS_ERRLEVEL_LOW, mp,
> -- 
> 2.20.1.7.g153144c
>