diff options
author | Pavel Begunkov <[email protected]> | 2023-08-11 13:53:47 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2023-08-11 10:42:57 -0600 |
commit | d246c759c47eafe4688613e89b337e48c39c5968 (patch) | |
tree | 9e5a7343d5a5b8ed798e8fa39f921801577bf341 /rust/helpers.c | |
parent | 19a63c4021702e389a559726b16fcbf07a8a05f9 (diff) |
io_uring: simplify io_run_task_work_sig return
Nobody cares about io_run_task_work_sig returning 1, we only check for
negative errors. Simplify by keeping to 0/-error returns.
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/3aec8a532c003d6e50739b969a82989402696170.1691757663.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions