io_uring: remove duplicated member check for io_msg_ring_prep()
authorJens Axboe <axboe@kernel.dk>
Sat, 12 Mar 2022 13:50:13 +0000 (06:50 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 12 Mar 2022 13:50:13 +0000 (06:50 -0700)
commitf3b6a41eb2bbdf545a42e54d637c34f4b1fdf5b9
treeb9e08fb774b65018428f0a1f94832397dbad4c1f
parentbcbb7bf6ccde7cb969a5642879832bc84ebf06a3
io_uring: remove duplicated member check for io_msg_ring_prep()

Julia and the kernel test robot report that the prep handling for this
command inadvertently checks one field twice:

fs/io_uring.c:4338:42-56: duplicated argument to && or ||

Get rid of it.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Fixes: 4f57f06ce218 ("io_uring: add support for IORING_OP_MSG_RING command")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c