Re: [PATCHv2 25/27] conf: delete unused flags arguments

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

 



2011/7/8 Eric Blake <eblake@xxxxxxxxxx>:
> For static functions not used as callbacks, there's no need to
> keep an unused parameter.
>
> * src/conf/domain_conf.c (virDomainChrDefParseTargetXML)
> (virDomainTimerDefParseXML, virDomainHostdevSubsysUsbDefParseXML)
> (virDomainVcpuPinDefParseXML): Drop unused parameter.
> (virDomainChrDefParseXML, virDomainDefParseXML)
> (virDomainHostdevDefParseXML): Update callers.
> (virDomainNetDefParseXML): Mark flags used.
> ---
>
> v2: new patch
>
>  src/conf/domain_conf.c |   24 +++++++++---------------
>  1 files changed, 9 insertions(+), 15 deletions(-)

ACK.

-- 
Matthias Bolte
http://photron.blogspot.com

--
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]