]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
sched/headers: Remove unused 'task_can_switch_user()' prototype
authorIngo Molnar <mingo@kernel.org>
Thu, 2 Feb 2017 09:31:24 +0000 (10:31 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 3 Mar 2017 00:45:30 +0000 (01:45 +0100)
The function does not exist anymore.

Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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