Commit a541fa8d authored by Pavel Emelyanov's avatar Pavel Emelyanov

rst: Remove unused pstree_pid

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 3b35d053
......@@ -99,7 +99,6 @@ static struct shmems *shmems;
static struct pipe_info *pipes;
static int nr_pipes;
pid_t pstree_pid;
struct pstree_item *me;
static int restore_task_with_children(void *);
......@@ -1721,8 +1720,6 @@ err:
int cr_restore_tasks(pid_t pid, struct cr_options *opts)
{
pstree_pid = pid;
if (opts->leader_only)
return restore_one_task(pid);
return restore_all_tasks(pid, opts);
......
......@@ -181,8 +181,6 @@ struct pstree_item {
u32 *children; /* array of children */
};
extern pid_t pstree_pid;
static inline int in_vma_area(struct vma_area *vma, unsigned long addr)
{
return addr >= (unsigned long)vma->vma.start &&
......
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