From f2c1261123798403dd254926db4f2008de4b6d84 Mon Sep 17 00:00:00 2001 From: arao Date: Wed, 18 Feb 2015 14:57:31 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/9676 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/protocol/client/src/client-handshake.c | 9 --------- 1 file changed, 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); -- cgit