Searched hist:"9 e4bef2b" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/io_uring/ |
H A D | io_uring.c | 9e4bef2b Wed Aug 09 11:03:00 CDT 2023 Jens Axboe <axboe@kernel.dk> io_uring: cleanup 'ret' handling in io_iopoll_check()
We return 0 for success, or -error when there's an error. Move the 'ret' variable into the loop where we are actually using it, to make it clearer that we don't carry this variable forward for return outside of the loop.
While at it, also move the need_resched() break condition out of the while check itself, keeping it with the signal pending check.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
|