Commit 25cbe53e authored by Oleg Nesterov's avatar Oleg Nesterov Committed by Linus Torvalds

pid_ns: kill the now unused task_child_reaper()

task_child_reaper() has no callers anymore, kill it.
Signed-off-by: default avatarOleg Nesterov <oleg@tv-sign.ru>
Acked-by: default avatarSerge Hallyn <serue@us.ibm.com>
Acked-by: default avatarPavel Emelyanov <xemul@openvz.org>
Acked-by: default avatarSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 07edbde5
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment