io_uring: kill io_llist_xchg
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 18 Oct 2024 16:07:31 +0000 (17:07 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 18 Oct 2024 18:36:49 +0000 (12:36 -0600)
commitcb943835067450aebf6f1171e81ea5958ce34b03
treec4bf8e09b56ad28c526a2aa155aee2adc58fb515
parent7ee4d05790e5a6eb4826e8825956706ca7aac877
io_uring: kill io_llist_xchg

io_llist_xchg is only used to set the list to NULL, which can also be
done with llist_del_all(). Use the latter and kill io_llist_xchg.

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