io_uring/poll: don't pass in wake func to io_init_poll_iocb()
authorJens Axboe <axboe@kernel.dk>
Mon, 27 Feb 2023 16:41:20 +0000 (09:41 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 1 Mar 2023 17:06:53 +0000 (10:06 -0700)
commit1947ddf9b3d5b886ba227bbfd3d6f501af08b5b0
treee66164204f4fce4001e868ee910e49a7ee0ccaea
parent54aa7f2330b82884f4a1afce0220add6e8312f8b
io_uring/poll: don't pass in wake func to io_init_poll_iocb()

We only use one, and it's io_poll_wake(). Hardwire that in the initial
init, as well as in __io_queue_proc() if we're setting up for double
poll.

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