]> xenbits.xensource.com Git - libvirt.git/commitdiff
vircgroup: Remove obsolete sa_assert
authorPavel Hrdina <phrdina@redhat.com>
Sun, 19 Aug 2018 09:04:35 +0000 (11:04 +0200)
committerPavel Hrdina <phrdina@redhat.com>
Mon, 27 Aug 2018 15:40:24 +0000 (17:40 +0200)
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
src/util/vircgroup.c

index 02de33f74f2f6000c8e3db474cdc0b22b5789a4d..64507bf8aa46d69ae26792ca31fc0497c8d7c9a9 100644 (file)
@@ -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 ||