]> git.ipfire.org Git - thirdparty/linux.git/commit
rcu: Remove redundant CONFIG_PROVE_RCU #if condition
authorPaul E. McKenney <paulmck@kernel.org>
Sat, 16 Mar 2024 06:29:59 +0000 (23:29 -0700)
committerUladzislau Rezki (Sony) <urezki@gmail.com>
Mon, 15 Apr 2024 16:12:20 +0000 (18:12 +0200)
commit10c9e40f297d3f1b0d4df6e73618d4466a0b2cfc
treeedb10b36416f05233c0e0700d05b0b48513deb7d
parentfc2897d2abe5a307e3b28943bcb4c1401432ea26
rcu: Remove redundant CONFIG_PROVE_RCU #if condition

The #if condition controlling the rcu_preempt_sleep_check() definition
has a redundant check for CONFIG_PREEMPT_RCU, which is already checked
for by an enclosing #ifndef.  This commit therefore removes this redundant
condition from the inner #if.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
include/linux/rcupdate.h