Re: [libvirt] [PATCH 4/5] interface: clean up virInterfaceDefParseXML

2014-06-19 Thread Eric Blake
On 06/19/2014 04:48 AM, Laine Stump wrote: > the switch cases for the 4 different interface types had repetitive > code which has now been pulled out as common. While touching those > lines, some extra usage of "!= NULL" etc has been eliminated to make > things more compact and inline with current

[libvirt] [PATCH 4/5] interface: clean up virInterfaceDefParseXML

2014-06-19 Thread Laine Stump
the switch cases for the 4 different interface types had repetitive code which has now been pulled out as common. While touching those lines, some extra usage of "!= NULL" etc has been eliminated to make things more compact and inline with current coding practices. NB: parentIfType == VIR_INTERFAC