ivshmem: remove redundant assignment, fix crash with msi=off
commit47213eb1104709bf238c8d16db20aa47d37b1c59
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 18 Dec 2015 14:13:08 +0000 (18 15:13 +0100)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 2 Feb 2016 12:28:58 +0000 (2 13:28 +0100)
tree763da902517eff4edfee44ff0120041c87a8588a
parent2c64846972897fc3aec4072f849fae2b00322f8b
ivshmem: remove redundant assignment, fix crash with msi=off

Fix crash when msi=false introduced in 660c97ee (msi_vectors is NULL in
this case)

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/misc/ivshmem.c