Revert "lxc_cgroup: Add check for NULL cgroup before AddTask call"

This reverts commit ae09988eb7.

Since commit id '71ce4759' has been reverted, this one is no
longer necessary.
This commit is contained in:
John Ferlan 2016-01-14 11:01:50 -05:00
parent d41bd09596
commit 344d480611

View File

@ -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 */