projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38033c3
)
sched: Delete is_same_group() outside CONFIG_FAIR_GROUP_SCHED
author
Dietmar Eggemann
<dietmar.eggemann@arm.com>
Wed, 29 Jan 2014 14:29:33 +0000
(14:29 +0000)
committer
Ingo Molnar
<mingo@kernel.org>
Tue, 11 Feb 2014 08:58:16 +0000
(09:58 +0100)
Since is_same_group() is only used in the group scheduling code, there is
no need to define it outside CONFIG_FAIR_GROUP_SCHED.
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link:
http://lkml.kernel.org/r/1391005773-29493-1-git-send-email-dietmar.eggemann@arm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/fair.c
patch
|
blob
|
history
diff --git
a/kernel/sched/fair.c
b/kernel/sched/fair.c
index 43b49fe077abd450023473b423e487a888fa2e1e..235cfa7ad8fc72a7aea2031090858e738bfe31e6 100644
(file)
--- a/
kernel/sched/fair.c
+++ b/
kernel/sched/fair.c
@@
-415,12
+415,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 struct cfs_rq *
-is_same_group(struct sched_entity *se, struct sched_entity *pse)
-{
- return cfs_rq_of(se); /* always the same rq */
-}
-
static inline struct sched_entity *parent_entity(struct sched_entity *se)
{
return NULL;