]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: caps: Don't check capability before clearing it
authorPeter Krempa <pkrempa@redhat.com>
Sun, 24 Nov 2019 08:55:42 +0000 (09:55 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 3 Dec 2019 14:26:54 +0000 (15:26 +0100)
commita64265f440ba1d316f285f86550abfde694d859a
tree307444a56d6779936019f549c20913cc0fb63ef2
parent78c2a8b9345871afabb840061962d81008337fea
qemu: caps: Don't check capability before clearing it

Checking whether a qemu capability set right before clearing it without
any other logic doesn't make sense.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Cole Robinson <crobinso@redhat.com>
src/qemu/qemu_capabilities.c