mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel@kyup.com
To: peterz@infradead.org, mingo@redhat.com
Cc: linux-kernel@vger.kernel.org, Nikolay Borisov <n.borisov@siteground.com>
Subject: [PATCH] sched: Remove redundant #ifdef
Date: Thu, 14 May 2015 14:31:01 +0300	[thread overview]
Message-ID: <1431603061-29408-1-git-send-email-kernel@kyup.com> (raw)

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


             reply	other threads:[~2015-05-14 11:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-14 11:31 kernel [this message]
2015-05-14 20:07 ` [tip:sched/core] " tip-bot for Nikolay Borisov
  -- strict thread matches above, loose matches on Subject: below --
2010-10-31  5:56 [PATCH] " Rakib Mullick
2010-10-31  8:44 ` Ingo Molnar
2010-10-31  9:01   ` Rakib Mullick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1431603061-29408-1-git-send-email-kernel@kyup.com \
    --to=kernel@kyup.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=n.borisov@siteground.com \
    --cc=peterz@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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