render / rpms / libvirt

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