mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
pid_ns: kill the now unused task_child_reaper()
task_child_reaper() has no callers anymore, kill it. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Acked-by: Serge Hallyn <serue@us.ibm.com> Acked-by: Pavel Emelyanov <xemul@openvz.org> Acked-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
07edbde508
commit
25cbe53ef1
1 changed files with 0 additions and 6 deletions
|
@ -84,12 +84,6 @@ static inline struct pid_namespace *task_active_pid_ns(struct task_struct *tsk)
|
|||
return tsk->nsproxy->pid_ns;
|
||||
}
|
||||
|
||||
static inline struct task_struct *task_child_reaper(struct task_struct *tsk)
|
||||
{
|
||||
BUG_ON(tsk != current);
|
||||
return tsk->nsproxy->pid_ns->child_reaper;
|
||||
}
|
||||
|
||||
void pidhash_init(void);
|
||||
void pidmap_init(void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue