sched/deadline: Remove inc/dec_dl_migration on !SMP
PATCH 1/1 sched/deadline: Remove inc/dec_dl_migration on !SMP
The commit "5fe7765997b1 sched/deadline: Make dl_rq->pushable_dl_tasks update drive dl_rq->overloaded)" removed these functions on SMP, but thet !SMP was left. I thought that the compiler would complain about the unused functions, but it was not complaining.
Cc Ingo Molnar <[email protected]>
Cc Peter Zijlstra <[email protected]>
Cc Juri Lelli <[email protected]>
Cc Vincent Guittot <[email protected]>
Cc Dietmar Eggemann <[email protected]>
Cc Steven Rostedt <[email protected]>
Cc Valentin Schneider <[email protected]>
Signed-off-by Daniel Bristot de Oliveira <[email protected]>
--- kernel/sched/deadline.c | 10 ---------- 1 file changed, 10 deletions(-)
kernel/sched/deadline.c +0 -10
@@ -718,16 +718,6 @@ void dequeue_pushable_dl_task(struct rq *rq, struct task_struct *p) { } -static inline -void inc_dl_migration (struct sched_dl_entity *dl_se,struct dl_rq *dl_rq) -{ -} - -static inline -void dec_dl_migration (struct sched_dl_entity *dl_se,struct dl_rq *dl_rq) -{ -} -static inline void deadline_queue_push_tasks (struct rq *rq) { }
Signature · 1 line
2.41.0