Commit 81c72ea6 authored by Pavel Emelyanov's avatar Pavel Emelyanov

restore: Remove unused struct shmem_id and variables

Most likely they left from Andrey's shmem rework.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 0e51036d
......@@ -39,17 +39,8 @@
#include "crtools.h"
#include "namespaces.h"
struct shmem_id {
struct shmem_id *next;
unsigned long addr;
unsigned long end;
unsigned long shmid;
};
static struct task_entries *task_entries;
static struct shmem_id *shmem_ids;
static struct shmems *shmems;
static struct pstree_item *me;
......@@ -349,7 +340,6 @@ static int restore_shmem_content(void *addr, struct shmem_info *si)
static int get_shmem_fd(int pid, struct vma_entry *vi)
{
struct shmem_info *si;
struct shmem_id *shmid;
int sh_fd;
void *addr;
int f;
......
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