qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 02/11] change pvscsi_init_msi() type to void


From: Cao jin
Subject: Re: [Qemu-devel] [PATCH v5 02/11] change pvscsi_init_msi() type to void
Date: Fri, 6 May 2016 13:48:06 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

forget to cc some maintainers

On 05/06/2016 12:20 PM, Cao jin wrote:
Nobody use its return value, so change the type to void.

cc: Paolo Bonzini <address@hidden>
Acked-by: Dmitry Fleytman <address@hidden>
Reviewed-by: Marcel Apfelbaum <address@hidden>
Signed-off-by: Cao jin <address@hidden>
---
  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 9abc086..4ce3581 100644
--- a/hw/scsi/vmw_pvscsi.c
+++ b/hw/scsi/vmw_pvscsi.c
@@ -1039,7 +1039,7 @@ pvscsi_io_read(void *opaque, hwaddr addr, unsigned size)
  }


-static bool
+static void
  pvscsi_init_msi(PVSCSIState *s)
  {
      int res;
@@ -1053,8 +1053,6 @@ pvscsi_init_msi(PVSCSIState *s)
      } else {
          s->msi_used = true;
      }
-
-    return s->msi_used;
  }

  static void


--
Yours Sincerely,

Cao jin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]