summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index edfcb2a35e7..df0c386147e 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -454,7 +454,7 @@ gf_rdma_register_iobuf_pool (rpc_transport_t *this)
if (new == NULL) {
gf_log ("rdma", GF_LOG_INFO, "Out of memory:"
" registering pre allocated buffer with rdma device failed.");
- return -1;
+ return;
}
INIT_LIST_HEAD (&new->list);
new->iobuf_arena = tmp;