Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1574765
| From | Ingo Molnar <mingo@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 21/89] sched/headers: Remove unused 'task_can_switch_user()' prototype |
| Date | 2017-02-06 15:00 +0100 |
| Message-ID | <t7RZL-5F5-5@gated-at.bofh.it> (permalink) |
| References | <t7RGp-5x6-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 21/89] sched/headers: Remove unused 'task_can_switch_user()' prototype Ingo Molnar <mingo@kernel.org> - 2017-02-06 15:00 +0100
csiph-web