Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0c57d589 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched: remove batch_task()



batch_task() in sched.h is now unused - remove it.

Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 50e645a8
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -1157,11 +1157,6 @@ static inline int rt_task(struct task_struct *p)
	return rt_prio(p->prio);
}

static inline int batch_task(struct task_struct *p)
{
	return p->policy == SCHED_BATCH;
}

static inline pid_t process_group(struct task_struct *tsk)
{
	return tsk->signal->pgrp;