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

Nikolay Shirokovskiy nshirokovskiy at virtuozzo.com
Thu Jun 6 12:34:39 UTC 2019



On 05.06.2019 12:09, Michal Privoznik wrote:
> 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,
> 

Reviewed-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>




More information about the libvir-list mailing list