io_uring/notif: remove ctx var from io_notif_tw_complete
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 15 Apr 2024 12:50:12 +0000 (13:50 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:49 +0000 (08:10 -0600)
commit2e730d8de45768810df4a6859cd64c5387cf0131
treec488df684a07146a8e7d045331f4302a7e97b9bc
parent7e58d0af5a587e74f46f55b91a0197f750eba78c
io_uring/notif: remove ctx var from io_notif_tw_complete

We don't need ctx in the hottest path, i.e. registered buffers,
let's get it only when we need it.

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