]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
io_uring/uring_cmd: remove dead req_has_async_data() check
authorJens Axboe <axboe@kernel.dk>
Wed, 12 Feb 2025 21:05:11 +0000 (14:05 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:20 +0000 (14:01 +0100)
commit98d6ee3e305e8317827232acb98367e8f0814267
tree6c37880a076b7b4a700b2546b8b6ec9638d5fd1e
parent9d32212b998c9a38d83d8496b3641774e603b762
io_uring/uring_cmd: remove dead req_has_async_data() check

[ Upstream commit 0edf1283a9d1419a2095b4fcdd95c11ac00a191c ]

Any uring_cmd always has async data allocated now, there's no reason to
check and clear a cached copy of the SQE.

Fixes: d10f19dff56e ("io_uring/uring_cmd: switch to always allocating async data")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
io_uring/uring_cmd.c