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, 25 Mar 2024 14:50:52 +0000 (08:50 -0600)
commit3c03c2e979d6f93d97c9fc764358f0bdf249f6fe
tree0351cf947eb87f559767e841b4d77c2b65add12f
parentbbf6f197eb08606cce09d36218257498e6a84f59
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