Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932619AbbENLbS (ORCPT ); Thu, 14 May 2015 07:31:18 -0400 Received: from mail.siteground.com ([67.19.240.234]:38109 "EHLO mail.siteground.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932498AbbENLbQ (ORCPT ); Thu, 14 May 2015 07:31:16 -0400 From: kernel@kyup.com To: peterz@infradead.org, mingo@redhat.com Cc: linux-kernel@vger.kernel.org, Nikolay Borisov Subject: [PATCH] sched: Remove redundant #ifdef Date: Thu, 14 May 2015 14:31:01 +0300 Message-Id: <1431603061-29408-1-git-send-email-kernel@kyup.com> X-Mailer: git-send-email 1.7.1 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mail.siteground.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - kyup.com X-Get-Message-Sender-Via: mail.siteground.com: none X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1022 Lines: 31 From: Nikolay Borisov 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 --- 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/