Skip to contentSkip to conversation

mtd: ubi: block: Fix typo in code

PATCH In review Li kunyu 2 participants 2 messages Jul 1, 2022 – Jul 8, 2022

Subsystems (2)
lore
Share & tools
lore

Li kunyu

author
#0 lore raw

PATCH 1/1 mtd: ubi: block: Fix typo in code

Remove the repeated ';' from code

---
 drivers/mtd/ubi/block.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/ubi/block.c +1 -1
index a78fdf3b30f7..774db8346b74 100644
@@ -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;
 	}
 
 
Signature · 1 line
2.18.2
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · Li kunyu

Remove the repeated ';' from code

---
  drivers/mtd/ubi/block.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/ubi/block.c +0 -0
index a78fdf3b30f7..774db8346b74 100644

drivers/mtd/ubi/block.c int ubiblock_create(struct ubi_volume_info *vi) · line 415

Quoted 8 lines
drivers/mtd/ubi/block.c +1 -1
@@ -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/