Skip to content

Commit 5ae769c

Browse files
committed
rcu-tasks: Remove redundant #ifdef CONFIG_TASKS_RCU
The kernel/rcu/tasks.h file has a #endif immediately followed by an Signed-off-by: Paul E. McKenney <[email protected]>
1 parent d119357 commit 5ae769c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

kernel/rcu/tasks.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ static struct rcu_tasks rt_name = \
146146
#ifdef CONFIG_TASKS_RCU
147147
/* Track exiting tasks in order to allow them to be waited for. */
148148
DEFINE_STATIC_SRCU(tasks_rcu_exit_srcu);
149-
#endif
150149

151-
#ifdef CONFIG_TASKS_RCU
152150
/* Report delay in synchronize_srcu() completion in rcu_tasks_postscan(). */
153151
static void tasks_rcu_exit_srcu_stall(struct timer_list *unused);
154152
static DEFINE_TIMER(tasks_rcu_exit_srcu_stall_timer, tasks_rcu_exit_srcu_stall);

0 commit comments

Comments
 (0)