]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: delete useless primaryVideo variable
authorJán Tomko <jtomko@redhat.com>
Mon, 11 Apr 2016 13:20:41 +0000 (15:20 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 12 Apr 2016 08:45:35 +0000 (10:45 +0200)
commit35e3c4a68411017faaf61390628d59fab481defe
tree4787cdd59876c3ff620cd09a5e00709c2c8f8741
parentb2b8fc919d81cc81ac54253b71f32eb3a5d19251
conf: delete useless primaryVideo variable

If we encounter a video device with primary=yes, we insert it
at def->videos[0].

There is no need to record this in a separate variable,
just check if there already is a primary video at def->videos[0].
src/conf/domain_conf.c