rcu-tasks: Remove redundant #ifdef CONFIG_TASKS_RCU
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 17 May 2023 12:20:03 +0000 (05:20 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 14 Jul 2023 22:00:12 +0000 (15:00 -0700)
The kernel/rcu/tasks.h file has a #endif immediately followed by an

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/tasks.h

index c88d7fe..7eae67f 100644 (file)
@@ -146,9 +146,7 @@ static struct rcu_tasks rt_name =                                                   \
 #ifdef CONFIG_TASKS_RCU
 /* Track exiting tasks in order to allow them to be waited for. */
 DEFINE_STATIC_SRCU(tasks_rcu_exit_srcu);
-#endif
 
-#ifdef CONFIG_TASKS_RCU
 /* Report delay in synchronize_srcu() completion in rcu_tasks_postscan(). */
 static void tasks_rcu_exit_srcu_stall(struct timer_list *unused);
 static DEFINE_TIMER(tasks_rcu_exit_srcu_stall_timer, tasks_rcu_exit_srcu_stall);