[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1391005773-29493-1-git-send-email-dietmar.eggemann@arm.com>
Date: Wed, 29 Jan 2014 14:29:33 +0000
From: dietmar.eggemann@....com
To: peterz@...radead.org
Cc: linux-kernel@...r.kernel.org, dietmar.eggemann@....com
Subject: [PATCH] sched: delete is_same_group outside CONFIG_FAIR_GROUP_SCHED
From: Dietmar Eggemann <dietmar.eggemann@....com>
Since is_same_group is only used in group scheduling code, there is
no need to define it outside CONFIG_FAIR_GROUP_SCHED.
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@....com>
---
kernel/sched/fair.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index e64b0794060e..78b68e89cf77 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
@@ -426,12 +426,6 @@ static inline void list_del_leaf_cfs_rq(struct cfs_rq *cfs_rq)
#define for_each_leaf_cfs_rq(rq, cfs_rq) \
for (cfs_rq = &rq->cfs; cfs_rq; cfs_rq = NULL)
-static inline int
-is_same_group(struct sched_entity *se, struct sched_entity *pse)
-{
- return 1;
-}
-
static inline struct sched_entity *parent_entity(struct sched_entity *se)
{
return NULL;
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists