diff options
author | Cao jin <caoj.fnst@cn.fujitsu.com> | 2016-06-20 14:13:32 +0800 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-05 13:14:41 +0300 |
commit | b2e1fffb5a9fe35bfcde0db2bf1e63c062e1d0d4 (patch) | |
tree | f8e7cba1a78d689ef2369d711e3ee9d3902345a3 /hw/scsi | |
parent | 600426f2df5242fe6fd32c93b150eeea40cde1fa (diff) | |
download | qemu-b2e1fffb5a9fe35bfcde0db2bf1e63c062e1d0d4.zip qemu-b2e1fffb5a9fe35bfcde0db2bf1e63c062e1d0d4.tar.gz qemu-b2e1fffb5a9fe35bfcde0db2bf1e63c062e1d0d4.tar.bz2 |
change pvscsi_init_msi() type to void
Nobody use its return value, so change the type to void.
cc: Michael S. Tsirkin <mst@redhat.com>
cc: Paolo Bonzini <pbonzini@redhat.com>
cc: Markus Armbruster <armbru@redhat.com>
cc: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Acked-by: Dmitry Fleytman <dmitry@daynix.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Signed-off-by: Cao jin <caoj.fnst@cn.fujitsu.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/scsi')
-rw-r--r-- | hw/scsi/vmw_pvscsi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/scsi/vmw_pvscsi.c b/hw/scsi/vmw_pvscsi.c index 2d7528d..e035fce 100644 --- a/hw/scsi/vmw_pvscsi.c +++ b/hw/scsi/vmw_pvscsi.c @@ -1056,7 +1056,7 @@ pvscsi_io_read(void *opaque, hwaddr addr, unsigned size) } -static bool +static void pvscsi_init_msi(PVSCSIState *s) { int res; @@ -1070,8 +1070,6 @@ pvscsi_init_msi(PVSCSIState *s) } else { s->msi_used = true; } - - return s->msi_used; } static void |