Skip to contentSkip to conversation

udf: Remove second semicolon

PATCH In review Colin Ian King 2 participants 2 messages Mar 15, 2024 – Mar 25, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udf: Remove second semicolon

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

---
 fs/udf/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/udf/super.c +1 -1
index 2217f7ed7a49..ba6b747a3830 100644
@@ -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;
Signature · 1 line
2.39.2
#1 lore raw
Quoted 4 lines · Colin Ian King

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

Thanks. Added to my tree.

Honza

Quoted 20 lines
---
 fs/udf/super.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
fs/udf/super.c +1 -1
index 2217f7ed7a49..ba6b747a3830 100644
@@ -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;
Signature · 1 line
2.39.2
Signature · 2 lines
Jan Kara <[email protected]>
SUSE Labs, CR