summaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
authorHumble Devassy Chirammal <hchiramm@redhat.com>2015-03-09 18:13:39 +0530
committerRaghavendra G <rgowdapp@redhat.com>2015-03-09 21:36:28 -0700
commita38faffd2ccc104af37cffec4099f96ec354b891 (patch)
treefbda8f6f52300c6208d1dd375ff14d843a06cdc9 /rpc
parenta70231c78aaea436575d427a1386a64d1471b776 (diff)
rdma: return proper data type.
Change-Id: I9bb0898af96cfcfaba0f0c976a7808bc6ea08e6a Signed-off-by: Humble Devassy Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/9838 Reviewed-by: mohammed rafi kc <rkavunga@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'rpc')
-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;