diff options
author | 2022-03-02 19:34:32 +0100 | |
---|---|---|
committer | 2022-03-08 16:08:39 +0100 | |
commit | 71d29747b0e26f36a50e6a65dc0191ca742b9222 (patch) | |
tree | 1d5b76bb5331ad1cec5d0e86ff2cd6e2b1b27180 /kernel/sched/deadline.c | |
parent | sched/deadline: Use __node_2_[pdl|dle]() and rb_first_cached() consistently (diff) | |
download | linux-71d29747b0e26f36a50e6a65dc0191ca742b9222.tar.gz linux-71d29747b0e26f36a50e6a65dc0191ca742b9222.tar.bz2 linux-71d29747b0e26f36a50e6a65dc0191ca742b9222.zip |
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/deadline.c')
-rw-r--r-- | kernel/sched/deadline.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/kernel/sched/deadline.c b/kernel/sched/deadline.c index 3242dd4972e1..93fcef57dd59 100644 --- a/kernel/sched/deadline.c +++ b/kernel/sched/deadline.c @@ -723,15 +723,6 @@ void dec_dl_migration(struct sched_dl_entity *dl_se, struct dl_rq *dl_rq) { } -static inline bool need_pull_dl_task(struct rq *rq, struct task_struct *prev) -{ - return false; -} - -static inline void pull_dl_task(struct rq *rq) -{ -} - static inline void deadline_queue_push_tasks(struct rq *rq) { } |