io_uring: clean up io_lockdep_assert_cq_locked
authorPavel Begunkov <asml.silence@gmail.com>
Mon, 18 Mar 2024 22:00:35 +0000 (22:00 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Mar 2024 14:50:52 +0000 (08:50 -0600)
commitf23c2beae22608e04b899c708f0b76b326a7fa3c
tree274b6e5e8e3759e87f41ecfe7065344a5ef68fbe
parentfaf24e50cca31134c044833c65b99e9082259db6
io_uring: clean up io_lockdep_assert_cq_locked

Move CONFIG_PROVE_LOCKING checks inside of io_lockdep_assert_cq_locked()
and kill the else branch.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Tested-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/bbf33c429c9f6d7207a8fe66d1a5866ec2c99850.1710799188.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.h