]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Remove unnecessary condition from virDomainDiskSourceFormatInternal
authorPeter Krempa <pkrempa@redhat.com>
Mon, 5 Mar 2018 13:52:38 +0000 (14:52 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 14 Mar 2018 11:19:44 +0000 (12:19 +0100)
commitbbacd6b113849479535dcdc418fcead50f2619ef
tree997a22374eea45db34bcc82371da82332d79b71c
parent9265b54d9332ba6fe43c1da947685a7ad522730d
conf: Remove unnecessary condition from virDomainDiskSourceFormatInternal

Now that the function is using virXMLFormatElement we don't need to
conditionally format anything, since we'll format the element according
to the presence of content.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
src/conf/domain_conf.c