[PATCH] mtd/ubi/block: Remove a semicolon

Li zeming posted 1 patch 3 years, 7 months ago
drivers/mtd/ubi/block.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mtd/ubi/block: Remove a semicolon
Posted by Li zeming 3 years, 7 months ago
Remove the repeated ';' from code.

Signed-off-by: Li zeming <zeming@nfschina.com>
---
 drivers/mtd/ubi/block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c
index 4cf67a2a0d04..4fc7e756d885 100644
--- a/drivers/mtd/ubi/block.c
+++ b/drivers/mtd/ubi/block.c
@@ -409,7 +409,7 @@ int ubiblock_create(struct ubi_volume_info *vi)
 	ret = blk_mq_alloc_tag_set(&dev->tag_set);
 	if (ret) {
 		dev_err(disk_to_dev(dev->gd), "blk_mq_alloc_tag_set failed");
-		goto out_free_dev;;
+		goto out_free_dev;
 	}
 
 
-- 
2.18.2
Re: [PATCH] mtd/ubi/block: Remove a semicolon
Posted by Zhihao Cheng 3 years, 7 months ago
在 2022/8/17 9:14, Li zeming 写道:
Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>

> Remove the repeated ';' from code.
> 
> Signed-off-by: Li zeming <zeming@nfschina.com>
> ---
>   drivers/mtd/ubi/block.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c
> index 4cf67a2a0d04..4fc7e756d885 100644
> --- a/drivers/mtd/ubi/block.c
> +++ b/drivers/mtd/ubi/block.c
> @@ -409,7 +409,7 @@ int ubiblock_create(struct ubi_volume_info *vi)
>   	ret = blk_mq_alloc_tag_set(&dev->tag_set);
>   	if (ret) {
>   		dev_err(disk_to_dev(dev->gd), "blk_mq_alloc_tag_set failed");
> -		goto out_free_dev;;
> +		goto out_free_dev;
>   	}
>   
>   
>