summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorLi zeming <zeming@nfschina.com>2022-08-17 09:14:06 +0800
committerRichard Weinberger <richard@nod.at>2022-09-21 11:11:10 +0200
commit6c97bb345f163e45a8e4a14acc9391be0beaa6bb (patch)
tree7bb82a7f997dd61889c62b2a78905fb621513b4c /drivers/mtd
parent27ef523a6653b35270296114dc50a9f630d896a9 (diff)
downloadlinux-stable-6c97bb345f163e45a8e4a14acc9391be0beaa6bb.tar.gz
linux-stable-6c97bb345f163e45a8e4a14acc9391be0beaa6bb.tar.bz2
linux-stable-6c97bb345f163e45a8e4a14acc9391be0beaa6bb.zip
ubi: block: Remove in vain semicolon
Remove the repeated ';' from code, it is not needed. Signed-off-by: Li zeming <zeming@nfschina.com> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> [rw: Massaged commit message a bit] Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/ubi/block.c2
1 files changed, 1 insertions, 1 deletions
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;
}