2020-09-09 14:40:59

by Zheng Bin

[permalink] [raw]
Subject: [PATCH -next] io_uring: Remove unneeded semicolon

Fixes coccicheck warning:

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

Signed-off-by: Zheng Bin <[email protected]>
---
fs/io_uring.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/fs/io_uring.c b/fs/io_uring.c
index d00eb6bf6ce9..565a3e568766 100644
--- a/fs/io_uring.c
+++ b/fs/io_uring.c
@@ -4239,7 +4239,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;
--
2.26.0.106.g9fadedd


2020-09-09 16:33:35

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH -next] io_uring: Remove unneeded semicolon

On 9/9/20 6:12 AM, Zheng Bin wrote:
> Fixes coccicheck warning:
>
> fs/io_uring.c:4242:13-14: Unneeded semicolon

Thanks, applied.

--
Jens Axboe