io_uring: cleanup io_poll_remove_one() logic
authorJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 19:54:12 +0000 (13:54 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 20:10:01 +0000 (14:10 -0600)
commit3bfa5bcb26f0b52d7ae8416aa0618fff21aceaaf
treec27831956728c815112bbaba8728a0abeb1690c5
parent6a4d07cde5778174a35ffc445c1d1388479563ee
io_uring: cleanup io_poll_remove_one() logic

We only need apoll in the one section, do the juggling with the work
restoration there. This removes a special case further down as well.

No functional changes in this patch.

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