io_uring: remove timeout/poll specific cancelations
authorJens Axboe <axboe@kernel.dk>
Sat, 16 Mar 2024 17:10:21 +0000 (11:10 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:25 +0000 (08:10 -0600)
commit29f858a7c6e06060bbadee6d8502df36eed888bf
tree137f65939d55d92cc6ce1e2a6b2daf20f3053bf1
parent254176234222c97c5da7fd33ff8c61d06480c228
io_uring: remove timeout/poll specific cancelations

For historical reasons these were special cased, as they were the only
ones that needed cancelation. But now we handle cancelations generally,
and hence there's no need to check for these in
io_ring_ctx_wait_and_kill() when io_uring_try_cancel_requests() handles
both these and the rest as well.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c