diff --git a/kernel/sched/walt/walt_cfs.c b/kernel/sched/walt/walt_cfs.c index 29d262d82549..cd9901232973 100644 --- a/kernel/sched/walt/walt_cfs.c +++ b/kernel/sched/walt/walt_cfs.c @@ -928,11 +928,6 @@ walt_select_task_rq_fair(void *unused, struct task_struct *p, int prev_cpu, *target_cpu = prev_cpu; } -static inline struct task_struct *task_of(struct sched_entity *se) -{ - return container_of(se, struct task_struct, se); -} - static void walt_place_entity(void *unused, struct sched_entity *se, u64 *vruntime) { if (unlikely(walt_disabled))