Commit 9b6c41f2 authored by Pavel Emelyanov's avatar Pavel Emelyanov

cg: Remove unused cgroup_dir field

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
Acked-by: 's avatarTycho Andersen <tycho.andersen@canonical.com>
parent f5705fb4
...@@ -318,7 +318,6 @@ static int add_cgroup(const char *fpath, const struct stat *sb, int typeflag) ...@@ -318,7 +318,6 @@ static int add_cgroup(const char *fpath, const struct stat *sb, int typeflag)
INIT_LIST_HEAD(&ncd->children); INIT_LIST_HEAD(&ncd->children);
ncd->n_children = 0; ncd->n_children = 0;
ncd->controller = current_controller;
return 0; return 0;
} }
......
...@@ -23,8 +23,6 @@ struct cgroup_dir { ...@@ -23,8 +23,6 @@ struct cgroup_dir {
/* more cgroup_dirs */ /* more cgroup_dirs */
struct list_head children; struct list_head children;
unsigned int n_children; unsigned int n_children;
struct cg_controller *controller;
}; };
/* This describes a particular cgroup controller, e.g. blkio or cpuset. /* This describes a particular cgroup controller, e.g. blkio or cpuset.
......
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