sched: Remove redundant #ifdef
authorNikolay Borisov <n.borisov@siteground.com>
Thu, 14 May 2015 11:31:01 +0000 (14:31 +0300)
committerIngo Molnar <mingo@kernel.org>
Thu, 14 May 2015 18:04:43 +0000 (20:04 +0200)
Two adjacent members in task_struct were guarded
by the same #define, so we can merge the two blocks.

Signed-off-by: Nikolay Borisov <n.borisov@siteground.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1431603061-29408-1-git-send-email-kernel@kyup.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
include/linux/sched.h

index 0eceeec5a01aed9be38a857d0d4f82b12e7b7041..5f8defa155cf7bb23e6ed8e03b6aef30105adb8b 100644 (file)
@@ -1398,8 +1398,6 @@ struct task_struct {
        int rcu_read_lock_nesting;
        union rcu_special rcu_read_unlock_special;
        struct list_head rcu_node_entry;
-#endif /* #ifdef CONFIG_PREEMPT_RCU */
-#ifdef CONFIG_PREEMPT_RCU
        struct rcu_node *rcu_blocked_node;
 #endif /* #ifdef CONFIG_PREEMPT_RCU */
 #ifdef CONFIG_TASKS_RCU