2011/7/8 Eric Blake <eblake(a)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