This reverts commit ae09988eb787df63d3bb298f713a3bbd77275901.
Since commit id '71ce4759' has been reverted, this one is no
longer necessary.
Signed-off-by: John Ferlan <jferlan(a)redhat.com>
---
src/lxc/lxc_cgroup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lxc/lxc_cgroup.c b/src/lxc/lxc_cgroup.c
index 8f78d24..ad254e4 100644
--- a/src/lxc/lxc_cgroup.c
+++ b/src/lxc/lxc_cgroup.c
@@ -501,7 +501,7 @@ virCgroupPtr virLXCCgroupCreate(virDomainDefPtr def,
nnicindexes, nicindexes,
def->resource->partition,
-1,
- &cgroup) < 0 || !cgroup)
+ &cgroup) < 0)
goto cleanup;
/* setup control group permissions for user namespace */
--
2.5.0