pid_ns: kill the now unused task_child_reaper()
PATCH 4/4 pid_ns: kill the now unused task_child_reaper()
task_child_reaper() has no callers anymore, kill it.
Signed-off-by Oleg Nesterov <[email protected]>
include/linux/pid_namespace.h renamed from include/linux/pid_namespace.h~4_KILL_HELPER +0 -6
@@ -84,12 +84,6 @@ static inline struct pid_namespace *taskreturn 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 );
Quoted 3 lines · Oleg Nesterov
task_child_reaper()has no callers anymore, kill it.Signed-off-by Oleg Nesterov <[email protected]>
Acked-by Serge Hallyn <[email protected]>
Quoted 15 lines
include/linux/pid_namespace.h renamed from include/linux/pid_namespace.h~4_KILL_HELPER +0
-6@@ -84,12 +84,6 @@ static inline struct pid_namespace *taskreturn 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 );
Quoted 3 lines · Oleg Nesterov
task_child_reaper()has no callers anymore, kill it.Signed-off-by Oleg Nesterov <[email protected]>
Acked-by Pavel Emelyanov <[email protected]>
Oleg Nesterov [[email protected]] wrote:
| task_child_reaper() has no callers anymore, kill it. | | Signed-off-by: Oleg Nesterov <[email protected]>