Commit 492db899 authored by Rob Latham's avatar Rob Latham
Browse files
parent a548b427
diff --git a/src/plugins/ctp/verbs/ctp_verbs_api.c b/src/plugins/ctp/verbs/ctp_verbs_api.c
index 06da1f4..e187ebd 100644
--- a/src/plugins/ctp/verbs/ctp_verbs_api.c
+++ b/src/plugins/ctp/verbs/ctp_verbs_api.c
@@ -2982,12 +2982,7 @@ verbs_handle_disconnected(cci__ep_t * ep, struct rdma_cm_event *cm_evt)
/* Either way, we got the DISCONNECTED event, it is safe to cleanup
* the QP and CM id.
*/
- ret = rdma_destroy_ep(vconn->id);
- if (ret == -1) {
- ret = errno;
- debug(CCI_DB_WARN, "%s: rdma_destroy_ep() returned %s",
- __func__, strerror(ret));
- }
+ rdma_destroy_ep(vconn->id);
if (!vconn->cci_disconn) {
verbs_destroy_conn(ep, conn);
......@@ -42,6 +42,8 @@ class Cci(AutotoolsPackage):
depends_on('libtool', type='build', when='@master');
patch('0001-Werror-is-a-little-aggressive.patch');
# some libverbs libraries return 'void' instead of a value
patch('cci-rdma-destroy-ep.patch');
version('master', git='https://github.com/CCI/cci.git')
version('2.0', '070b2ba4eca92a846c093f2cd000d3b2')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment