rcutorture: Drop sparse lock-acquisition annotations
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 16 Dec 2022 17:47:28 +0000 (09:47 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 5 Jan 2023 20:10:35 +0000 (12:10 -0800)
commit273661595c21f390d2522af06c7b552f907fe12a
tree80cbcfc1f7f782529cc59378d6ae1eb9c49d138e
parentc24501b240741907ddfce52ffc186792db5ad3a5
rcutorture: Drop sparse lock-acquisition annotations

The sparse __acquires() and __releases() annotations provide very
little value.  The argument is ignored, so sparse cannot tell the
differences between acquiring one lock and releasing another on the one
hand and acquiring and releasing a given lock on the other.  In addition,
lockdep annotations provide much more precision, for but one example,
actually knowing which lock is held.

This commit therefore removes the __acquires() and __releases()
annotations from rcutorture.

Reported-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c