diff --git a/cgroup.c b/cgroup.c index 39d7cad74..400ffe8b4 100644 --- a/cgroup.c +++ b/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; } diff --git a/include/cgroup.h b/include/cgroup.h index 283f38f55..aac73485e 100644 --- a/include/cgroup.h +++ b/include/cgroup.h @@ -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.