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, 15 Apr 2024 14:10:24 +0000 (08:10 -0600)
commitc133b3b06b0653036b0c07675c1db0c89467ccdb
treef3768b5b3af2c343193d4e99939486cb3e79e2f7
parent0667db14e1f029d56243aa2509ebc5f944388200
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