summaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2022-07-18 09:54:31 +0800
committerJens Axboe <axboe@kernel.dk>2022-07-18 13:10:24 -0600
commit6b1439d203a3c3d7adcf31ba70734eb95f8fa02d (patch)
tree5267cbc45435d3d827aa192834415a5bda8fb00a /drivers/block
parentf50e5d670c622349277a46996a70386cc3661b10 (diff)
downloadlinux-6b1439d203a3c3d7adcf31ba70734eb95f8fa02d.tar.bz2
ublk_drv: remove unneeded semicolon
Eliminate the following coccicheck warnings: ./drivers/block/ublk_drv.c:1467:2-3: Unneeded semicolon ./drivers/block/ublk_drv.c:1528:2-3: Unneeded semicolon Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20220718015431.40185-1-yang.lee@linux.alibaba.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/ublk_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/block/ublk_drv.c b/drivers/block/ublk_drv.c
index 663626167c0d..42afab25864f 100644
--- a/drivers/block/ublk_drv.c
+++ b/drivers/block/ublk_drv.c
@@ -1465,7 +1465,7 @@ static int ublk_ctrl_cmd_validate(struct io_uring_cmd *cmd,
return -EINVAL;
if (!header->addr)
return -EINVAL;
- };
+ }
return 0;
}
@@ -1526,7 +1526,7 @@ static int ublk_ctrl_uring_cmd(struct io_uring_cmd *cmd,
break;
default:
break;
- };
+ }
out:
io_uring_cmd_done(cmd, ret, 0);
pr_devel("%s: cmd done ret %d cmd_op %x, dev id %d qid %d\n",