mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
sched/walt: Remove redefinition of 'task_of' function
'task_of' function is defined in sched.h Remove redefinition in walt_cfs.c Change-Id: I07dd511fae0a74a03ebf2ae47f2b227404866972 Signed-off-by: Sai Harshini Nimmala <snimmala@codeaurora.org>
This commit is contained in:
parent
d3e1802b11
commit
b634ecd65b
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user