mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-02 15:25:21 +00:00
rst: Remove unused pstree_pid
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -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 &&
|
||||
|
Reference in New Issue
Block a user