mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: Remove redundant #ifdef
@ 2015-05-14 11:31 kernel
  2015-05-14 20:07 ` [tip:sched/core] " tip-bot for Nikolay Borisov
  0 siblings, 1 reply; 2+ messages in thread
From: kernel @ 2015-05-14 11:31 UTC (permalink / raw)
  To: peterz, mingo; +Cc: linux-kernel, Nikolay Borisov

From: Nikolay Borisov <n.borisov@siteground.com>

2 Adjacent members in task_struct were guarded
by the same define, so no need to have the define twice

Signed-off-by: Nikolay Borisov <n.borisov@siteground.com>
---
 include/linux/sched.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 26a2e61..272d14e 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1334,8 +1334,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
-- 
1.7.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-14 20:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-14 11:31 [PATCH] sched: Remove redundant #ifdef kernel
2015-05-14 20:07 ` [tip:sched/core] " tip-bot for Nikolay Borisov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome