summaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-09-24 21:59:54 +0100
committerJens Axboe <axboe@kernel.dk>2021-10-19 05:49:53 -0600
commit1cce17aca621c38c657410dc278a48cda982dd2e (patch)
treef5b1eb6984dafdae01641d2bca50e516a837ee06 /lib/mpi/mpi-sub-ui.c
parentd4b7a5ef2b9c06def90d12db9b99bd12d75758fb (diff)
io_uring: don't pass tail into io_free_batch_list
io_free_batch_list() iterates all requests in the passed in list, so we don't really need to know the tail but can keep iterating until meet NULL. Just pass the first node into it and it will be enough. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/4a12c84b6d887d980e05f417ba4172d04c64acae.1632516769.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions