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>
This commit is contained in:
parent
600426f2df
commit
b2e1fffb5a
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue