2024-03-15 09:20:02

by Colin Ian King

[permalink] [raw]
Subject: [PATCH][next] udf: Remove second semicolon

There is a statement with two semicolons. Remove the second one, it
is redundant.

Signed-off-by: Colin Ian King <[email protected]>
---
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



2024-03-25 20:24:32

by Jan Kara

[permalink] [raw]
Subject: Re: [PATCH][next] udf: Remove second semicolon

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 <[email protected]>

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 <[email protected]>
SUSE Labs, CR