[libvirt] [PATCH 13/24] maint: inline VIR_IS*_DOMAIN macro
Eric Blake
eblake at redhat.com
Wed Jan 8 04:32:31 UTC 2014
On 01/02/2014 04:50 PM, John Ferlan wrote:
>
>
> 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 at redhat.com>
>> ---
>> src/datatypes.h | 8 ++------
>> src/xen/xen_driver.c | 3 ---
>> 2 files changed, 2 insertions(+), 9 deletions(-)
>>
>
> ACK
Pushed.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140107/2e5750ff/attachment-0001.sig>
More information about the libvir-list
mailing list