[PATCH] drivers: mtd: ubi: fixed a semicolon style issue in block.c

Rahul Balaji rahulbalaji78 at gmail.com
Sun Aug 1 22:04:53 UTC 2021


fixed a small coding style issue in using semicolon.

signed-off-by: Rahul Balaji <rahulbalaji78 at gmail.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 e003b4b44ffa..e0402c2f8959 100644
--- a/drivers/mtd/ubi/block.c
+++ b/drivers/mtd/ubi/block.c
@@ -405,7 +405,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.25.1



More information about the Linux-kernel-mentees mailing list