[PATCH 10/35] sched/headers: Remove unused 'task_can_switch_user()' prototype
From: Ingo Molnar
Date: Wed Feb 08 2017 - 14:02:09 EST
The function does not exist anymore.
Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
Cc: Mike Galbraith <efault@xxxxxx>
Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>
---
include/linux/sched.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/linux/sched.h b/include/linux/sched.h
index 814f7c731e9f..dc0c024333e2 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -1505,9 +1505,6 @@ static inline void set_task_cpu(struct task_struct *p, unsigned int cpu)
extern long sched_setaffinity(pid_t pid, const struct cpumask *new_mask);
extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
-extern int task_can_switch_user(struct user_struct *up,
- struct task_struct *tsk);
-
#ifndef TASK_SIZE_OF
#define TASK_SIZE_OF(tsk) TASK_SIZE
#endif
--
2.7.4