linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mtd/ubi/block: Remove a semicolon
@ 2022-08-17  1:14 Li zeming
  2022-08-17  6:09 ` Zhihao Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: Li zeming @ 2022-08-17  1:14 UTC (permalink / raw)
  To: richard, miquel.raynal, vigneshr; +Cc: linux-mtd, linux-kernel, Li zeming

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


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd/ubi/block: Remove a semicolon
  2022-08-17  1:14 [PATCH] mtd/ubi/block: Remove a semicolon Li zeming
@ 2022-08-17  6:09 ` Zhihao Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Zhihao Cheng @ 2022-08-17  6:09 UTC (permalink / raw)
  To: Li zeming, richard, miquel.raynal, vigneshr; +Cc: linux-mtd, linux-kernel

在 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;
>   	}
>   
>   
> 


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-08-17  6:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17  1:14 [PATCH] mtd/ubi/block: Remove a semicolon Li zeming
2022-08-17  6:09 ` Zhihao Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).