io_uring: get rid of kiocb_wait_page_queue_init()
authorJens Axboe <axboe@kernel.dk>
Sun, 16 Aug 2020 17:58:43 +0000 (10:58 -0700)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Aug 2020 21:36:31 +0000 (14:36 -0700)
commit3b2a4439e0ae1732f90877a7160bbf42e1beb4b6
treeb84a72ec17fa7bb0ad754daaa9cdd7fd9b8ecdb6
parentb711d4eaf0c408a811311ee3e94d6e9e5a230a9a
io_uring: get rid of kiocb_wait_page_queue_init()

The 5.9 merge moved this function io_uring, which means that we don't
need to retain the generic nature of it. Clean up this part by removing
redundant checks, and just inlining the small remainder in
io_rw_should_retry().

No functional changes in this patch.

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