Re: [PATCH 13/24] maint: inline VIR_IS*_DOMAIN macro

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 12/28/2013 11:11 AM, Eric Blake wrote:
> Cleanup after the previous patch.  In particular, note that
> xenDomainUsedCpus can only be reached from
> xenUnifiedDomainGetXMLDesc, which in turn is only reached from
> public API that already validated the domain.
> 
> * src/xen/xen_driver.c (xenDomainUsedCpus): Drop redundant check.
> * src/datatypes.h (VIR_IS_DOMAIN, VIR_IS_CONNECTED_DOMAIN):
> Delete, and inline into all callers, since no other file uses it
> any more.
> 
> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
> ---
>  src/datatypes.h      | 8 ++------
>  src/xen/xen_driver.c | 3 ---
>  2 files changed, 2 insertions(+), 9 deletions(-)
> 

ACK

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]