Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574765 > unrolled thread

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

Started byIngo Molnar <mingo@kernel.org>
First post2017-02-06 15:00 +0100
Last post2017-02-06 15:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH 21/89] sched/headers: Remove unused 'task_can_switch_user()' prototype Ingo Molnar <mingo@kernel.org> - 2017-02-06 15:00 +0100

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

FromIngo Molnar <mingo@kernel.org>
Date2017-02-06 15:00 +0100
Subject[PATCH 21/89] sched/headers: Remove unused 'task_can_switch_user()' prototype
Message-ID<t7RZL-5F5-5@gated-at.bofh.it>
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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web