Skip to content

Commit

Permalink
pid_ns: kill the now unused task_child_reaper()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Oleg Nesterov authored and Linus Torvalds committed Oct 16, 2008
1 parent 07edbde commit 25cbe53
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions include/linux/pid_namespace.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 25cbe53

Please sign in to comment.