summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport
diff options
context:
space:
mode:
authorKartik_Burmee <kburmee@redhat.com>2017-11-20 00:08:40 +0530
committerAmar Tumballi <amarts@redhat.com>2017-11-21 07:07:27 +0000
commitb6da32e527f0ba28773a9adf39b1dd55953f9dc4 (patch)
tree85e6146dc080fdfdd1e82d016f249a567b9655d2 /rpc/rpc-transport
parentc6e87387978e4b389d4e514d698279b87e60b20d (diff)
rpc/rpc-transport: dead code coverity fix
issue: Execution cannot reach this statement: "iobuf_unref(iobuf);" function: gf_rdma_do_reads fix: removed the statement and the corresponding 'if' block Change-Id: Ia21b872996dbc8e0a66c8c28dd90b367d3c9aadd BUG: 789278 Signed-off-by: Kartik_Burmee <kburmee@redhat.com>
Diffstat (limited to 'rpc/rpc-transport')
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index 4b3b12aae5a..e8a6dc2444f 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -3761,9 +3761,6 @@ out:
while (total_ref-- > 0)
gf_rdma_post_unref (post);
- if (iobuf != NULL) {
- iobuf_unref (iobuf);
- }
}
return ret;