diff mbox series

io_uring: remove duplicate cqe skip check

Message ID 20220613112231.998738-1-hao.xu@linux.dev (mailing list archive)
State New
Headers show
Series io_uring: remove duplicate cqe skip check | expand

Commit Message

Hao Xu June 13, 2022, 11:22 a.m. UTC
From: Hao Xu <howeyxu@tencent.com>

Remove duplicate cqe skip check in __io_fill_cqe32_req()

Signed-off-by: Hao Xu <howeyxu@tencent.com>
---
 io_uring/io_uring.c | 2 --
 1 file changed, 2 deletions(-)


base-commit: d8271bf021438f468dab3cd84fe5279b5bbcead8

Comments

Jens Axboe June 13, 2022, 9:23 p.m. UTC | #1
On Mon, 13 Jun 2022 19:22:31 +0800, Hao Xu wrote:
> From: Hao Xu <howeyxu@tencent.com>
> 
> Remove duplicate cqe skip check in __io_fill_cqe32_req()
> 
> 

Applied, thanks!

[1/1] io_uring: remove duplicate cqe skip check
      commit: 5703449632a7f565d71ebbf5393b284074939814

Best regards,
Jens Axboe June 14, 2022, 5:02 p.m. UTC | #2
On Mon, 13 Jun 2022 19:22:31 +0800, Hao Xu wrote:
> From: Hao Xu <howeyxu@tencent.com>
> 
> Remove duplicate cqe skip check in __io_fill_cqe32_req()
> 
> 

Applied, thanks!

[1/1] io_uring: remove duplicate cqe skip check
      (no commit info)

Best regards,
diff mbox series

Patch

diff --git a/io_uring/io_uring.c b/io_uring/io_uring.c
index 1572ebe3cff1..6a94d1682aaf 100644
--- a/io_uring/io_uring.c
+++ b/io_uring/io_uring.c
@@ -1194,8 +1194,6 @@  static inline void __io_fill_cqe32_req(struct io_kiocb *req, u64 extra1,
 
 	if (WARN_ON_ONCE(!(ctx->flags & IORING_SETUP_CQE32)))
 		return;
-	if (req->flags & REQ_F_CQE_SKIP)
-		return;
 
 	trace_io_uring_complete(ctx, req, req->cqe.user_data, req->cqe.res,
 				req->cqe.flags, extra1, extra2);