start: do not initialize cgroup_ops twice

parent 40a6212e
...@@ -1694,11 +1694,6 @@ static int lxc_spawn(struct lxc_handler *handler) ...@@ -1694,11 +1694,6 @@ static int lxc_spawn(struct lxc_handler *handler)
} }
} }
if (!cgroup_init(handler)) {
ERROR("Failed initializing cgroup support");
goto out_delete_net;
}
if (!cgroup_ops->create(cgroup_ops, handler)) { if (!cgroup_ops->create(cgroup_ops, handler)) {
ERROR("Failed creating cgroups"); ERROR("Failed creating cgroups");
goto out_delete_net; goto out_delete_net;
......
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