aboutsummaryrefslogtreecommitdiff
path: root/hw/rdma/vmw/pvrdma_qp_ops.h
diff options
context:
space:
mode:
authorYuval Shaia <yuval.shaia@oracle.com>2019-01-09 22:21:40 +0200
committerMarcel Apfelbaum <marcel.apfelbaum@gmail.com>2019-01-19 10:53:16 +0200
commit5bb8b739879f255fb3587238611334584ddcd99b (patch)
treecad619bbaec49aa24b4a536328b52e94c0742bec /hw/rdma/vmw/pvrdma_qp_ops.h
parent26fd869556bb9513bf82ad9573c906b2a631576e (diff)
downloadqemu-5bb8b739879f255fb3587238611334584ddcd99b.zip
qemu-5bb8b739879f255fb3587238611334584ddcd99b.tar.gz
qemu-5bb8b739879f255fb3587238611334584ddcd99b.tar.bz2
hw/pvrdma: Make function pvrdma_qp_send/recv return void.
The functions handles errors internaly, callers have nothing to do with the return value. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Message-Id: <20190109202140.4051-1-yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma/vmw/pvrdma_qp_ops.h')
-rw-r--r--hw/rdma/vmw/pvrdma_qp_ops.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/rdma/vmw/pvrdma_qp_ops.h b/hw/rdma/vmw/pvrdma_qp_ops.h
index ac46bf7..31cb48b 100644
--- a/hw/rdma/vmw/pvrdma_qp_ops.h
+++ b/hw/rdma/vmw/pvrdma_qp_ops.h
@@ -20,8 +20,8 @@
int pvrdma_qp_ops_init(void);
void pvrdma_qp_ops_fini(void);
-int pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle);
-int pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle);
+void pvrdma_qp_send(PVRDMADev *dev, uint32_t qp_handle);
+void pvrdma_qp_recv(PVRDMADev *dev, uint32_t qp_handle);
void pvrdma_cq_poll(RdmaDeviceResources *dev_res, uint32_t cq_handle);
#endif