mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: delete is_same_group outside CONFIG_FAIR_GROUP_SCHED
@ 2014-01-29 14:29 dietmar.eggemann
  2014-02-11 12:17 ` [tip:sched/core] sched: Delete is_same_group() " tip-bot for Dietmar Eggemann
  0 siblings, 1 reply; 2+ messages in thread
From: dietmar.eggemann @ 2014-01-29 14:29 UTC (permalink / raw)
  To: peterz; +Cc: linux-kernel, dietmar.eggemann

From: Dietmar Eggemann <dietmar.eggemann@arm.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@arm.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



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

end of thread, other threads:[~2014-02-11 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-29 14:29 [PATCH] sched: delete is_same_group outside CONFIG_FAIR_GROUP_SCHED dietmar.eggemann
2014-02-11 12:17 ` [tip:sched/core] sched: Delete is_same_group() " tip-bot for Dietmar Eggemann

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

all inboxes | Powered by JetHome®