[libvirt] [PATCH 7/7] vircgroup: Remove obsolete sa_assert

Pavel Hrdina phrdina at redhat.com
Fri Aug 24 13:45:57 UTC 2018


Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
---
 src/util/vircgroup.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
index 02de33f74f..64507bf8aa 100644
--- a/src/util/vircgroup.c
+++ b/src/util/vircgroup.c
@@ -1054,10 +1054,6 @@ virCgroupMakeGroup(virCgroupPtr parent,
         if (virCgroupPathOfController(group, i, "", &path) < 0)
             goto error;
 
-        /* As of Feb 2011, clang can't see that the above function
-         * call did not modify group. */
-        sa_assert(group->controllers[i].mountPoint);
-
         VIR_DEBUG("Make controller %s", path);
         if (!virFileExists(path)) {
             if (!create ||
-- 
2.17.1




More information about the libvir-list mailing list