diff options
author | Dietmar Eggemann <dietmar.eggemann@arm.com> | 2022-03-02 19:34:32 +0100 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2022-03-08 16:08:39 +0100 |
commit | 71d29747b0e26f36a50e6a65dc0191ca742b9222 (patch) | |
tree | 1d5b76bb5331ad1cec5d0e86ff2cd6e2b1b27180 /kernel/sched/rt.c | |
parent | f4478e7c855d2d6b2fde5126ebcca2cb5b34ee36 (diff) |
sched/deadline,rt: Remove unused functions for !CONFIG_SMP
The need_pull_[rt|dl]_task() and pull_[rt|dl]_task() functions are not
used on a !CONFIG_SMP system. Remove them.
Signed-off-by: Dietmar Eggemann <dietmar.eggemann@arm.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Juri Lelli <juri.lelli@redhat.com>
Link: https://lore.kernel.org/r/20220302183433.333029-6-dietmar.eggemann@arm.com
Diffstat (limited to 'kernel/sched/rt.c')
-rw-r--r-- | kernel/sched/rt.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index 14f273c29518..b62e7652464b 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -271,8 +271,6 @@ int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent) #ifdef CONFIG_SMP -static void pull_rt_task(struct rq *this_rq); - static inline bool need_pull_rt_task(struct rq *rq, struct task_struct *prev) { /* Try to pull RT tasks here if we lower this rq's prio */ @@ -429,15 +427,6 @@ void dec_rt_migration(struct sched_rt_entity *rt_se, struct rt_rq *rt_rq) { } -static inline bool need_pull_rt_task(struct rq *rq, struct task_struct *prev) -{ - return false; -} - -static inline void pull_rt_task(struct rq *this_rq) -{ -} - static inline void rt_queue_push_tasks(struct rq *rq) { } |