diff options
author | Tejun Heo <tj@kernel.org> | 2024-09-03 21:54:29 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2024-09-03 21:54:29 -1000 |
commit | 37cb049ef8b89e97d735f5cf7e34ef3f85ed6d94 (patch) | |
tree | 721e8f691ffbd164252b7406e43dccc28581039b /kernel/sched/sched.h | |
parent | f422316d7466da7724f0662b7e282afbbca78e95 (diff) |
sched_ext: Remove sched_class->switch_class()
With sched_ext converted to use put_prev_task() for class switch detection,
there's no user of switch_class() left. Drop it.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Diffstat (limited to 'kernel/sched/sched.h')
-rw-r--r-- | kernel/sched/sched.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 477e7a861d10..73ba0cfe4226 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -2385,8 +2385,6 @@ struct sched_class { void (*put_prev_task)(struct rq *rq, struct task_struct *p, struct task_struct *next); void (*set_next_task)(struct rq *rq, struct task_struct *p, bool first); - void (*switch_class)(struct rq *rq, struct task_struct *next); - #ifdef CONFIG_SMP int (*select_task_rq)(struct task_struct *p, int task_cpu, int flags); |