2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00

cg: Remove unused cgroup_dir field

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
Acked-by: Tycho Andersen <tycho.andersen@canonical.com>
This commit is contained in:
Pavel Emelyanov
2014-07-14 17:40:28 +04:00
parent f5705fb416
commit 9b6c41f2a0
2 changed files with 0 additions and 3 deletions

View File

@@ -318,7 +318,6 @@ static int add_cgroup(const char *fpath, const struct stat *sb, int typeflag)
INIT_LIST_HEAD(&ncd->children);
ncd->n_children = 0;
ncd->controller = current_controller;
return 0;
}

View File

@@ -23,8 +23,6 @@ struct cgroup_dir {
/* more cgroup_dirs */
struct list_head children;
unsigned int n_children;
struct cg_controller *controller;
};
/* This describes a particular cgroup controller, e.g. blkio or cpuset.