Commit 893f5099 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

show: Drop redundat rendering of process tree

Leftover from merging stage.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent fd0802ab
...@@ -463,13 +463,6 @@ static int cr_show_all(unsigned long pid, struct cr_options *opts) ...@@ -463,13 +463,6 @@ static int cr_show_all(unsigned long pid, struct cr_options *opts)
if (ret) if (ret)
goto out; goto out;
/*
* Yeah, I know we read the same file for second
* time here, but this saves us from code duplication.
*/
lseek(cr_fdset->fds[CR_FD_PSTREE], MAGIC_OFFSET, SEEK_SET);
show_pstree(cr_fdset->fds[CR_FD_PSTREE], NULL);
close_cr_fdset(&cr_fdset); close_cr_fdset(&cr_fdset);
list_for_each_entry(item, &pstree_list, list) { list_for_each_entry(item, &pstree_list, list) {
......
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