diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-09-21 12:17:50 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-21 13:15:02 -0600 |
commit | 6ae61b7aa2c758ce07347ebfa9c79b6f208098d5 (patch) | |
tree | 391404b215bf20c6ad86275d9a0f782b9a6e82d1 /io_uring/opdef.c | |
parent | 5693bcce892d7b8b15a7a92b011d3d40a023b53c (diff) | |
download | linux-stable-6ae61b7aa2c758ce07347ebfa9c79b6f208098d5.tar.gz linux-stable-6ae61b7aa2c758ce07347ebfa9c79b6f208098d5.tar.bz2 linux-stable-6ae61b7aa2c758ce07347ebfa9c79b6f208098d5.zip |
io_uring/net: refactor io_setup_async_addr
Instead of passing the right address into io_setup_async_addr() only
specify local on-stack storage and let the function infer where to grab
it from. It optimises out one local variable we have to deal with.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/6bfa9ab810d776853eb26ed59301e2536c3a5471.1663668091.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/opdef.c')
0 files changed, 0 insertions, 0 deletions