diff options
author | Peter Zijlstra <peterz@infradead.org> | 2010-02-01 05:13:39 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-02-02 00:58:27 -0500 |
commit | 4a461c85b643258e305eb5a3aced34009db2f818 (patch) | |
tree | fa5a05156908bfe89c0e3113afee40a1048987fe /kernel | |
parent | 90fdbdb48442a03c72cae5463e6edb64cb3a3a7d (diff) |
sched: Remove unused update_shares_locked()
Commit f492e12ef050e02bf0185b6b57874992591b9be1 ("sched: Remove
load_balance_newidle()") removed the only user of this function,
so remove it too.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1265019219.24455.128.camel@laptop>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/sched.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/kernel/sched.c b/kernel/sched.c index a56ead42d651..2386f5440002 100644 --- a/kernel/sched.c +++ b/kernel/sched.c | |||
@@ -1633,16 +1633,6 @@ static void update_shares(struct sched_domain *sd) | |||
1633 | } | 1633 | } |
1634 | } | 1634 | } |
1635 | 1635 | ||
1636 | static void update_shares_locked(struct rq *rq, struct sched_domain *sd) | ||
1637 | { | ||
1638 | if (root_task_group_empty()) | ||
1639 | return; | ||
1640 | |||
1641 | raw_spin_unlock(&rq->lock); | ||
1642 | update_shares(sd); | ||
1643 | raw_spin_lock(&rq->lock); | ||
1644 | } | ||
1645 | |||
1646 | static void update_h_load(long cpu) | 1636 | static void update_h_load(long cpu) |
1647 | { | 1637 | { |
1648 | if (root_task_group_empty()) | 1638 | if (root_task_group_empty()) |
@@ -1657,10 +1647,6 @@ static inline void update_shares(struct sched_domain *sd) | |||
1657 | { | 1647 | { |
1658 | } | 1648 | } |
1659 | 1649 | ||
1660 | static inline void update_shares_locked(struct rq *rq, struct sched_domain *sd) | ||
1661 | { | ||
1662 | } | ||
1663 | |||
1664 | #endif | 1650 | #endif |
1665 | 1651 | ||
1666 | #ifdef CONFIG_PREEMPT | 1652 | #ifdef CONFIG_PREEMPT |