[PATCH][next] udf: Remove second semicolon

Colin Ian King posted 1 patch 1 year, 10 months ago
fs/udf/super.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH][next] udf: Remove second semicolon
Posted by Colin Ian King 1 year, 10 months ago
There is a statement with two semicolons. Remove the second one, it
is redundant.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 fs/udf/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/udf/super.c b/fs/udf/super.c
index 2217f7ed7a49..ba6b747a3830 100644
--- a/fs/udf/super.c
+++ b/fs/udf/super.c
@@ -630,7 +630,7 @@ static int udf_parse_param(struct fs_context *fc, struct fs_parameter *param)
 			if (!uopt->nls_map) {
 				errorf(fc, "iocharset %s not found",
 					param->string);
-				return -EINVAL;;
+				return -EINVAL;
 			}
 		}
 		break;
-- 
2.39.2
Re: [PATCH][next] udf: Remove second semicolon
Posted by Jan Kara 1 year, 10 months ago
On Fri 15-03-24 09:19:49, Colin Ian King wrote:
> There is a statement with two semicolons. Remove the second one, it
> is redundant.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Thanks. Added to my tree.

								Honza

> ---
>  fs/udf/super.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/fs/udf/super.c b/fs/udf/super.c
> index 2217f7ed7a49..ba6b747a3830 100644
> --- a/fs/udf/super.c
> +++ b/fs/udf/super.c
> @@ -630,7 +630,7 @@ static int udf_parse_param(struct fs_context *fc, struct fs_parameter *param)
>  			if (!uopt->nls_map) {
>  				errorf(fc, "iocharset %s not found",
>  					param->string);
> -				return -EINVAL;;
> +				return -EINVAL;
>  			}
>  		}
>  		break;
> -- 
> 2.39.2
> 
-- 
Jan Kara <jack@suse.com>
SUSE Labs, CR