render / rpms / libvirt

Forked from rpms/libvirt 10 months ago
Clone
c480ed
From 45fd4b2e1b694ca15bfd124f6b5e24e79a670a47 Mon Sep 17 00:00:00 2001
c480ed
Message-Id: <45fd4b2e1b694ca15bfd124f6b5e24e79a670a47@dist-git>
c480ed
From: Pavel Hrdina <phrdina@redhat.com>
c480ed
Date: Mon, 1 Jul 2019 17:06:10 +0200
c480ed
Subject: [PATCH] vircgroup: Remove obsolete sa_assert
c480ed
MIME-Version: 1.0
c480ed
Content-Type: text/plain; charset=UTF-8
c480ed
Content-Transfer-Encoding: 8bit
c480ed
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
c480ed
(cherry picked from commit b14b88b74c10c9e20f87218c5994681fc35c2c57)
c480ed
c480ed
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1689297
c480ed
c480ed
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
c480ed
Message-Id: <3e004259ee462b47a9e1069ac2f4e9d67a914f6e.1561993099.git.phrdina@redhat.com>
c480ed
Reviewed-by: Ján Tomko <jtomko@redhat.com>
c480ed
---
c480ed
 src/util/vircgroup.c | 4 ----
c480ed
 1 file changed, 4 deletions(-)
c480ed
c480ed
diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c
c480ed
index 02de33f74f..64507bf8aa 100644
c480ed
--- a/src/util/vircgroup.c
c480ed
+++ b/src/util/vircgroup.c
c480ed
@@ -1054,10 +1054,6 @@ virCgroupMakeGroup(virCgroupPtr parent,
c480ed
         if (virCgroupPathOfController(group, i, "", &path) < 0)
c480ed
             goto error;
c480ed
 
c480ed
-        /* As of Feb 2011, clang can't see that the above function
c480ed
-         * call did not modify group. */
c480ed
-        sa_assert(group->controllers[i].mountPoint);
c480ed
-
c480ed
         VIR_DEBUG("Make controller %s", path);
c480ed
         if (!virFileExists(path)) {
c480ed
             if (!create ||
c480ed
-- 
c480ed
2.22.0
c480ed