aboutsummaryrefslogtreecommitdiffstats
path: root/io_uring/msg_ring.c
diff options
context:
space:
mode:
authorLi zeming <[email protected]>2023-03-17 18:25:38 +0000
committerJens Axboe <[email protected]>2023-03-16 01:59:11 +0000
commit6acd352dfee558194643adbed7e849fe80fd1b93 (patch)
treeaf6c10426a18863352820b437141b031508cb81d /io_uring/msg_ring.c
parentio_uring/sqpoll: Do not set PF_NO_SETAFFINITY on sqpoll threads (diff)
downloadkernel-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