diff options
| author | Li zeming <[email protected]> | 2023-03-17 18:25:38 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-03-16 01:59:11 +0000 |
| commit | 6acd352dfee558194643adbed7e849fe80fd1b93 (patch) | |
| tree | af6c10426a18863352820b437141b031508cb81d /io_uring/msg_ring.c | |
| parent | io_uring/sqpoll: Do not set PF_NO_SETAFFINITY on sqpoll threads (diff) | |
| download | kernel-6acd352dfee558194643adbed7e849fe80fd1b93.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'io_uring/msg_ring.c')
0 files changed, 0 insertions, 0 deletions
