mirror of
https://github.com/qemu/qemu.git
synced 2025-08-06 03:44:14 +00:00
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)
|
pvscsi_init_msi(PVSCSIState *s)
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
@ -1070,8 +1070,6 @@ pvscsi_init_msi(PVSCSIState *s)
|
|||||||
} else {
|
} else {
|
||||||
s->msi_used = true;
|
s->msi_used = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return s->msi_used;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user