Commit 3ef0d973 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

dump: No need to init root_item->sibling

It's already done in alloc_pstree_item() by
recently merged commit.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent e0be5404
...@@ -1210,7 +1210,6 @@ static int collect_pstree(pid_t pid, const struct cr_options *opts) ...@@ -1210,7 +1210,6 @@ static int collect_pstree(pid_t pid, const struct cr_options *opts)
return -1; return -1;
root_item->pid.real = pid; root_item->pid.real = pid;
INIT_LIST_HEAD(&root_item->sibling);
ret = collect_subtree(root_item); ret = collect_subtree(root_item);
if (ret == 0) { if (ret == 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment