]> xenbits.xensource.com Git - libvirt.git/commit
virDomainDefFormatInternal: Drop useless check
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 22 Feb 2016 06:59:25 +0000 (07:59 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 22 Feb 2016 06:59:25 +0000 (07:59 +0100)
commiteeed7f6e75131224d9a06b09ccd8de8e18b4ecfb
tree01a12ad76ad706be6c254652bd78958311a33858
parent702713af5add8c0c1757f4610a61f95834d46cca
virDomainDefFormatInternal: Drop useless check

There's a check if a domain definition has any graphics card and
if so, we iterate over each one of them. This makes no sense,
because even if it has none we can still iterate over.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/domain_conf.c