diff options
author | Yuval Shaia | 2018-12-21 15:40:20 +0100 |
---|---|---|
committer | Marcel Apfelbaum | 2018-12-22 10:09:56 +0100 |
commit | f00c48caab0360240ed5efd7df5245a6fa031a07 (patch) | |
tree | eee8d7e56b9b43d1f2770bdeae5cc1f55db7e8b1 /hw/rdma/vmw/pvrdma_main.c | |
parent | hw/rdma: Add support for MAD packets (diff) | |
download | qemu-f00c48caab0360240ed5efd7df5245a6fa031a07.tar.gz qemu-f00c48caab0360240ed5efd7df5245a6fa031a07.tar.xz qemu-f00c48caab0360240ed5efd7df5245a6fa031a07.zip |
hw/pvrdma: Make function reset_device return void
This function cannot fail - fix it to return void
Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma/vmw/pvrdma_main.c')
-rw-r--r-- | hw/rdma/vmw/pvrdma_main.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/hw/rdma/vmw/pvrdma_main.c b/hw/rdma/vmw/pvrdma_main.c index 6c8c0154fa..fc2abd34af 100644 --- a/hw/rdma/vmw/pvrdma_main.c +++ b/hw/rdma/vmw/pvrdma_main.c @@ -369,13 +369,11 @@ static int unquiesce_device(PVRDMADev *dev) return 0; } -static int reset_device(PVRDMADev *dev) +static void reset_device(PVRDMADev *dev) { pvrdma_stop(dev); pr_dbg("Device reset complete\n"); - - return 0; } static uint64_t regs_read(void *opaque, hwaddr addr, unsigned size) |