[libvirt] [PATCH] qemuDomainDeviceDefPostParse: Drop useless check

2015-09-23 Thread Michal Privoznik
Now that virQEMUDriverCreateXMLConf is never called with NULL (after 086f37e97aab) we can safely drop useless check in qemuDomainDeviceDefPostParse as we are guaranteed to be always called with the driver initialized. Therefore checking if driver is NULL makes no sense. Moreover, if we mix it with

Re: [libvirt] [PATCH] qemuDomainDeviceDefPostParse: Drop useless check

2015-09-23 Thread Martin Kletzander
On Wed, Sep 23, 2015 at 10:05:13AM +0200, Michal Privoznik wrote: Now that virQEMUDriverCreateXMLConf is never called with NULL (after 086f37e97aab) we can safely drop useless check in qemuDomainDeviceDefPostParse as we are guaranteed to be always called with the driver initialized. Therefore