Skip to contentSkip to conversation

pid_ns: kill the now unused task_child_reaper()

PATCH In review Oleg Nesterov 4 participants 4 messages Aug 24, 2008 – Aug 27, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 pid_ns: kill the now unused task_child_reaper()

task_child_reaper() has no callers anymore, kill it.

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 *task
 	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);
 
Acked-by on v1 4/4
#1 lore raw
Quoted 3 lines · Oleg Nesterov

task_child_reaper() has no callers anymore, kill it.

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 *task
 	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);