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:
1
cgroup.c
1
cgroup.c
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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.
|
||||
|
Reference in New Issue
Block a user