mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
[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>
This commit is contained in:
parent
d799f03597
commit
8fafabd86f
4 changed files with 7 additions and 7 deletions
|
@ -1281,7 +1281,7 @@ bail_ref:
|
|||
|
||||
/* move to end of parent's list to avoid starvation */
|
||||
remove_parent(p);
|
||||
add_parent(p, p->parent);
|
||||
add_parent(p);
|
||||
|
||||
write_unlock_irq(&tasklist_lock);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue