[PATCH 21/89] sched/headers: Remove unused 'task_can_switch_user()' prototype

Ingo Molnar
2017-02-06T13:53:45Z

The function does not exist anymore.

Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
---
include/linux/sched.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 9e05f9ed7c83..5c9b06947914 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -2384,9 +2384,6 @@ extern long sched_getaffinity(pid_t pid, struct cpumask *mask);
extern struct task_group root_task_group;
#endif /* CONFIG_CGROUP_SCHED */

-extern int task_can_switch_user(struct user_struct *up,
- struct task_struct *tsk);
-
#ifdef CONFIG_TASK_XACCT
static inline void add_rchar(struct task_struct *tsk, ssize_t amt)
{
--
2.7.4