io_uring: refactor io_wake_function
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 9 Jan 2023 14:46:04 +0000 (14:46 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 11 Jan 2023 17:25:35 +0000 (10:25 -0700)
commit291f31bf963c0018a2b84a94388a0e7b535c3dae
treee8001500e02d37d6b3e17b4b333cba87059bf016
parent8516c8b514839600b7e63090f2dce5b4d658fd68
io_uring: refactor io_wake_function

Remove a local variable ctx in io_wake_function(), we don't need it if
io_should_wake() triggers it to wake up.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e60eb1008aebe286aab7d34c772ed01c447bddb1.1673274244.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c