aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@tv-sign.ru>2006-03-28 19:11:05 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-28 21:36:41 -0500
commit8fafabd86f1b75ed3cc6a6ffbe6c3e53e3d8457d (patch)
tree3ae1a8fc44870ac3046213b11cad4aa8b3ce5f04 /kernel/exit.c
parentd799f03597cabc6112acb518fc8ab4487aa4f953 (diff)
[PATCH] remove add_parent()'s parent argument
add_parent(p, parent) is always called with parent == p->parent, and it makes no sense to do it differently. This patch removes this argument. No changes in affected .o files. Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru> Cc: "Eric W. Biederman" <ebiederm@xmission.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index e04a59405e99..df26c33037d2 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -1281,7 +1281,7 @@ bail_ref:
1281 1281
1282 /* move to end of parent's list to avoid starvation */ 1282 /* move to end of parent's list to avoid starvation */
1283 remove_parent(p); 1283 remove_parent(p);
1284 add_parent(p, p->parent); 1284 add_parent(p);
1285 1285
1286 write_unlock_irq(&tasklist_lock); 1286 write_unlock_irq(&tasklist_lock);
1287 1287