Nobody use its return value, so change the type to void. cc: Paolo Bonzini <[email protected]> cc: Markus Armbruster <[email protected]> cc: Marcel Apfelbaum <[email protected]>
Acked-by: Dmitry Fleytman <[email protected]> Reviewed-by: Marcel Apfelbaum <[email protected]> Signed-off-by: Cao jin <[email protected]> --- hw/scsi/vmw_pvscsi.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/scsi/vmw_pvscsi.c b/hw/scsi/vmw_pvscsi.c index e690b4e..c2a387a 100644 --- a/hw/scsi/vmw_pvscsi.c +++ b/hw/scsi/vmw_pvscsi.c @@ -1040,7 +1040,7 @@ pvscsi_io_read(void *opaque, hwaddr addr, unsigned size) } -static bool +static void pvscsi_init_msi(PVSCSIState *s) { int res; @@ -1054,8 +1054,6 @@ pvscsi_init_msi(PVSCSIState *s) } else { s->msi_used = true; } - - return s->msi_used; } static void -- 2.1.0
