]> Git Repo - linux.git/commit
io_uring: rsrc: Optimize return value variable 'ret'
authorLi zeming <[email protected]>
Fri, 17 Mar 2023 18:25:38 +0000 (02:25 +0800)
committerJens Axboe <[email protected]>
Thu, 16 Mar 2023 01:59:11 +0000 (19:59 -0600)
commit6acd352dfee558194643adbed7e849fe80fd1b93
treeaf6c10426a18863352820b437141b031508cb81d
parenta5fc1441af7719e93dc7a638a960befb694ade89
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]>
io_uring/rsrc.c
This page took 0.052413 seconds and 4 git commands to generate.