diff --git a/kernel/sched/android.h b/kernel/sched/android.h deleted file mode 100644 index 5fe6bb772368..000000000000 --- a/kernel/sched/android.h +++ /dev/null @@ -1,27 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* - * Android scheduler hooks and modifications - * - * Put all of the android-specific scheduler hooks and changes - * in this .h file to make merges and modifications easier. It's also - * simpler to notice what is, and is not, an upstream change this way over time. - */ - - -/* - * task_may_not_preempt - check whether a task may not be preemptible soon - */ -static inline bool task_may_not_preempt(struct task_struct *task, int cpu) -{ - return false; -} - -static inline bool uclamp_boosted(struct task_struct *p) -{ - return false; -} - -static inline bool uclamp_latency_sensitive(struct task_struct *p) -{ - return false; -} diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index bd494c54e727..d60841064527 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -69,7 +69,6 @@ #include #include #include -#include "android.h" #include #include