]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Remove superfluous usage of virDomainDeviceInfoNeedsFormat
authorJán Tomko <jtomko@redhat.com>
Tue, 27 Jun 2017 12:04:52 +0000 (14:04 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 2 Aug 2017 13:45:52 +0000 (15:45 +0200)
commit6233e7bb7487f9c08ced43b6a0000663b86bf7c6
tree2049b8702d2b8e1875b6143568319232da12a92d
parent2403dcce51bef33d05700a78e16de548f484ea44
Remove superfluous usage of virDomainDeviceInfoNeedsFormat

This function returns false if virDomainDeviceInfoFormat
would not format anything.

Using it as the sole condition to decide whether to call
virDomainDeviceInfoFormat or not is pointless, since
the conditions are repeated in virDomainDeviceInfoFormat.
src/conf/domain_conf.c