Skip to content
Commit fb6328bc authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/net: simplify msghd->msg_inq checking



Just check for larger than zero rather than check for non-zero and
not -1. This is easier to read, and also protects against any errants
< 0 values that aren't -1.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 186daf23
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment