OSDN Git Service

io_uring: remove unneeded semicolon
authorZheng Bin <zhengbin13@huawei.com>
Wed, 9 Sep 2020 12:12:37 +0000 (20:12 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 1 Oct 2020 02:32:34 +0000 (20:32 -0600)
Fixes coccicheck warning:

fs/io_uring.c:4242:13-14: Unneeded semicolon

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c

index 61a65a2..23fecfb 100644 (file)
@@ -4231,7 +4231,7 @@ static int io_send(struct io_kiocb *req, bool force_nonblock,
 
        ret = import_single_range(WRITE, sr->buf, sr->len, &iov, &msg.msg_iter);
        if (unlikely(ret))
-               return ret;;
+               return ret;
 
        msg.msg_name = NULL;
        msg.msg_control = NULL;