sched/headers: Remove unused 'task_can_switch_user()' prototype
authorIngo Molnar <[email protected]>
Thu, 2 Feb 2017 09:31:24 +0000 (10:31 +0100)
committerIngo Molnar <[email protected]>
Fri, 3 Mar 2017 00:45:30 +0000 (01:45 +0100)
The function does not exist anymore.

Acked-by: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/sched.h

index bd89fc17767c1c5bf566ff659ccd86e7b6b7c6c0..43ed34ccb53a77202b531bafd0e3b9f90ad58838 100644 (file)
@@ -1509,9 +1509,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