提交 25cbe53e 编写于 作者: O Oleg Nesterov 提交者: Linus Torvalds

pid_ns: kill the now unused task_child_reaper()

task_child_reaper() has no callers anymore, kill it.
Signed-off-by: NOleg Nesterov <oleg@tv-sign.ru>
Acked-by: NSerge Hallyn <serue@us.ibm.com>
Acked-by: NPavel Emelyanov <xemul@openvz.org>
Acked-by: NSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册