diff options
author | Li zeming <zeming@nfschina.com> | 2023-03-18 02:25:38 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-03-15 19:59:11 -0600 |
commit | 6acd352dfee558194643adbed7e849fe80fd1b93 (patch) | |
tree | af6c10426a18863352820b437141b031508cb81d /io_uring/msg_ring.c | |
parent | a5fc1441af7719e93dc7a638a960befb694ade89 (diff) | |
download | lwn-6acd352dfee558194643adbed7e849fe80fd1b93.tar.gz lwn-6acd352dfee558194643adbed7e849fe80fd1b93.zip |
io_uring: rsrc: Optimize return value variable 'ret'
The initialization assignment of the variable ret is changed to 0, only
in 'goto fail;' Use the ret variable as the function return value.
Signed-off-by: Li zeming <zeming@nfschina.com>
Link: https://lore.kernel.org/r/20230317182538.3027-1-zeming@nfschina.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions