summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorarao <arao@redhat.com>2015-02-18 14:57:31 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-30 00:40:04 -0700
commitf2c1261123798403dd254926db4f2008de4b6d84 (patch)
treea61f69fab172ccbc60d6210e3df967487bceafb9 /xlators/protocol
parentdcff68eb2e9837a1db6634571e8e03fc57ff3182 (diff)
protocol-client: Removal of Dead Code
CID: 1124448 CID: 1124449 Removal of the dead code in the 'out' label. Change-Id: Ibdd05cbb6e2204f6aefdf442698225883c2d7734 BUG: 789278 Signed-off-by: arao <arao@redhat.com> Reviewed-on: http://review.gluster.org/9676 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/client/src/client-handshake.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c
index 90192ad2ac8..08d3d0869eb 100644
--- a/xlators/protocol/client/src/client-handshake.c
+++ b/xlators/protocol/client/src/client-handshake.c
@@ -379,10 +379,6 @@ clnt_release_reopen_fd (xlator_t *this, clnt_fd_ctx_t *fdctx)
if (ret) {
clnt_fd_lk_reacquire_failed (this, fdctx, conf);
fdctx->reopen_done (fdctx, this);
- if (frame) {
- frame->local = NULL;
- STACK_DESTROY (frame->root);
- }
}
return 0;
}
@@ -880,11 +876,6 @@ protocol_client_reopendir (clnt_fd_ctx_t *fdctx, xlator_t *this)
return 0;
out:
- if (frame) {
- frame->local = NULL;
- STACK_DESTROY (frame->root);
- }
-
if (local)
client_local_wipe (local);