linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -next] io_uring: Remove unneeded semicolon
@ 2020-09-09 12:12 Zheng Bin
  2020-09-09 14:06 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Zheng Bin @ 2020-09-09 12:12 UTC (permalink / raw)
  To: viro, axboe, linux-fsdevel, io-uring, linux-kernel; +Cc: yi.zhang, zhengbin13

Fixes coccicheck warning:

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

Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
---
 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] io_uring: Remove unneeded semicolon
  2020-09-09 12:12 [PATCH -next] io_uring: Remove unneeded semicolon Zheng Bin
@ 2020-09-09 14:06 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2020-09-09 14:06 UTC (permalink / raw)
  To: Zheng Bin, viro, linux-fsdevel, io-uring, linux-kernel; +Cc: yi.zhang

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-09-09 16:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-09 12:12 [PATCH -next] io_uring: Remove unneeded semicolon Zheng Bin
2020-09-09 14:06 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).