diff mbox series

mtd: ubi: block: Fix typo in code

Message ID 20220701011357.3029-1-kunyu@nfschina.com
State Superseded
Delegated to: Richard Weinberger
Headers show
Series mtd: ubi: block: Fix typo in code | expand

Commit Message

Li kunyu July 1, 2022, 1:13 a.m. UTC
Remove the repeated ';' from code

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

Comments

Zhihao Cheng July 8, 2022, 9:04 a.m. UTC | #1
在 2022/7/1 9:13, Li kunyu 写道:
> Remove the repeated ';' from code
> 
> Signed-off-by: Li kunyu <kunyu@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 a78fdf3b30f7..774db8346b74 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;
>   	}
>   
>   
> 

Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
diff mbox series

Patch

diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c
index a78fdf3b30f7..774db8346b74 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;
 	}