summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client
diff options
context:
space:
mode:
authorarao <arao@redhat.com>2015-02-12 15:27:00 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-30 00:28:51 -0700
commit059e085752d09e841fd685e3ca53aeb2983cd48b (patch)
tree8af55a422d1a5731d24033ed6623140e4e173ba9 /xlators/protocol/client
parent2355012f3843859d639819d2308f995e08e270e5 (diff)
protocol-client: Removal of Logically dead code.
CID: 1124447 The values of the pointer varibale checked, before going to out label was always NULL, hence dead code related to that is removed. Change-Id: I0f9b84c7feb34072814557ddd023f2ae1c64ef7e BUG: 789278 Signed-off-by: arao <arao@redhat.com> Reviewed-on: http://review.gluster.org/9646 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/protocol/client')
-rw-r--r--xlators/protocol/client/src/client-rpc-fops.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/protocol/client/src/client-rpc-fops.c b/xlators/protocol/client/src/client-rpc-fops.c
index f6a334039ad..58742a2a747 100644
--- a/xlators/protocol/client/src/client-rpc-fops.c
+++ b/xlators/protocol/client/src/client-rpc-fops.c
@@ -3001,9 +3001,6 @@ out:
GF_FREE (fdctx);
}
- if (ret && fr)
- STACK_DESTROY (fr->root);
-
return ret;
}