From: Ingo Molnar Date: Thu, 2 Feb 2017 09:31:24 +0000 (+0100) Subject: sched/headers: Remove unused 'task_can_switch_user()' prototype X-Git-Tag: v5.15~11743^2~27 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=556725839e543bc2b45bd73121c0b1c1d6c23714;p=mirror_ubuntu-kernels.git sched/headers: Remove unused 'task_can_switch_user()' prototype The function does not exist anymore. Acked-by: Linus Torvalds Cc: Mike Galbraith Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Ingo Molnar --- diff --git a/include/linux/sched.h b/include/linux/sched.h index bd89fc17767c..43ed34ccb53a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -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