]> www.infradead.org Git - users/dwmw2/linux.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)
committerJens Axboe <axboe@kernel.dk>
Wed, 12 Feb 2025 22:39:34 +0000 (15:39 -0700)
commit0edf1283a9d1419a2095b4fcdd95c11ac00a191c
treeae617234ab983d4fe949effb51ef151dbe7d29f1
parente663da62ba8672aaa66843f1af8b20e3bb1a0515
io_uring/uring_cmd: remove dead req_has_async_data() check

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>
io_uring/uring_cmd.c