[libvirt] [PATCH v2 05/11] virDomainObjListAdd: Remove unused flag

Michal Privoznik mprivozn at redhat.com
Wed Jun 5 09:09:13 UTC 2019


After the previous commit the VIR_DOMAIN_OBJ_LIST_ADD_LIVE flag
is not used anymore. Let's remove it.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 src/conf/virdomainobjlist.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/conf/virdomainobjlist.h b/src/conf/virdomainobjlist.h
index 552a7cfaf2..54e7871c67 100644
--- a/src/conf/virdomainobjlist.h
+++ b/src/conf/virdomainobjlist.h
@@ -38,8 +38,7 @@ virDomainObjPtr virDomainObjListFindByName(virDomainObjListPtr doms,
                                            const char *name);
 
 enum {
-    VIR_DOMAIN_OBJ_LIST_ADD_LIVE = (1 << 0),
-    VIR_DOMAIN_OBJ_LIST_ADD_CHECK_LIVE = (1 << 1),
+    VIR_DOMAIN_OBJ_LIST_ADD_CHECK_LIVE = (1 << 0),
 };
 virDomainObjPtr virDomainObjListAdd(virDomainObjListPtr doms,
                                     virDomainDefPtr def,
-- 
2.21.0




More information about the libvir-list mailing list