qemu/virtio-pci: remove unnecessary check
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Sep 2009 10:35:28 +0000 (13:35 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 5 Oct 2009 14:32:52 +0000 (09:32 -0500)
commit6799a6766a2137580b07a5223c2bee495abc9f73
tree88d5ded6eef6d9111077fe4c50a8da42ff698500
parenta137c9b18c952f527c5cc27c48bd0b2a773d669a
qemu/virtio-pci: remove unnecessary check

it's safe to call msix_write_config if msix
is disabled, so call it unconditionally on
pci config write.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c