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

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



2011/7/8 Eric Blake <eblake redhat com>:
> 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


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