summaryrefslogtreecommitdiffstats
path: root/xlators/mount
diff options
context:
space:
mode:
authorarao <arao@redhat.com>2015-02-19 10:13:22 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-31 01:29:31 -0700
commite59e3a341308a9f47231d0205359da6886bb82be (patch)
tree36d5bcaa236bc6244cecb8e9844112fd3444dccf /xlators/mount
parent17d719c9ba08ba6b6eb040723f78cfa45b0c2ae7 (diff)
fuse: Removal of dead code
CID: 1124386 Dead code/ Unreachable code and related unsed variable are removed. Change-Id: Iafd317f01778dfe61f8a0e5398341e4f3a62d7a5 BUG: 789278 Signed-off-by: arao <arao@redhat.com> Reviewed-on: http://review.gluster.org/9690 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mount')
-rw-r--r--xlators/mount/fuse/src/fuse-bridge.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/mount/fuse/src/fuse-bridge.c b/xlators/mount/fuse/src/fuse-bridge.c
index ec5c6f60fad..b517475ef06 100644
--- a/xlators/mount/fuse/src/fuse-bridge.c
+++ b/xlators/mount/fuse/src/fuse-bridge.c
@@ -3255,7 +3255,6 @@ static int
fuse_xattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
int32_t op_ret, int32_t op_errno, dict_t *dict, dict_t *xdata)
{
- int need_to_free_dict = 0;
char *value = "";
fuse_state_t *state = NULL;
fuse_in_header_t *finh = NULL;
@@ -3339,9 +3338,6 @@ fuse_xattr_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
} /* if(op_ret>=0)...else */
out:
- if (need_to_free_dict)
- dict_unref (dict);
-
free_fuse_state (state);
STACK_DESTROY (frame->root);