diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2024-10-22 15:43:15 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-10-29 13:43:27 -0600 |
commit | 882dec6c39c40c13dd03e418952c4af38d91bb38 (patch) | |
tree | a9f792aa90da4c23f3628a853be723bba0dd5329 /io_uring/io_uring.c | |
parent | 52838787350d4ea8132804940d5308d95ce5e035 (diff) |
io_uring/net: clean up io_msg_copy_hdr
Put sr->umsg into a local variable, so it doesn't repeat "sr->umsg->"
for every field. It looks nicer, and likely without the patch it
compiles into a bunch of umsg memory reads.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/26c2f30b491ea7998bfdb5bb290662572a61064d.1729607201.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/io_uring.c')
0 files changed, 0 insertions, 0 deletions