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>
This commit is contained in:
parent
f50e5d670c
commit
6b1439d203
|
@ -1465,7 +1465,7 @@ static int ublk_ctrl_cmd_validate(struct io_uring_cmd *cmd,
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
if (!header->addr)
|
if (!header->addr)
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
};
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -1526,7 +1526,7 @@ static int ublk_ctrl_uring_cmd(struct io_uring_cmd *cmd,
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
out:
|
out:
|
||||||
io_uring_cmd_done(cmd, ret, 0);
|
io_uring_cmd_done(cmd, ret, 0);
|
||||||
pr_devel("%s: cmd done ret %d cmd_op %x, dev id %d qid %d\n",
|
pr_devel("%s: cmd done ret %d cmd_op %x, dev id %d qid %d\n",
|
||||||
|
|
Loading…
Reference in New Issue