commit | 1dacb4df4ebe61ec2005d7ab82ee38ffa7125ee7 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Jun 17 18:14:03 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Jun 18 09:22:02 2021 -0600 |
tree | 579e74bb84e22ed2dab2ec77a2aa5c4c4cb74f5d | |
parent | b8e64b530011162adda0e176150774d22326c50c [diff] |
io_uring: simplify iovec freeing in io_clean_op() We don't get REQ_F_NEED_CLEANUP for rw unless there is ->free_iovec set, so remove the optimisation of NULL checking it inline, kfree() will take care if that would ever be the case. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/a233dc655d3d45bd4f69b73d55a61de46d914415.1623949695.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>