summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-mgmt.c
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2015-08-15 01:29:31 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-04-04 14:40:49 -0700
commit3394c555171775c6f74c2c556265b044a70a2fa9 (patch)
tree4a3a0e793e108c35a3155745e5fbe9f898ac203f /xlators/mgmt/glusterd/src/glusterd-mgmt.c
parent6c76c96ee48f6ad1148e64dbe02f02c7aff4b9ce (diff)
glusterd: clean dead initializations
This patch cleans unused variable initialization as well as their declarations which are no where used in the code Change-Id: I784165fc6e91297758079699dd9583d5203b7793 BUG: 1253831 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Reviewed-on: http://review.gluster.org/11929 Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-mgmt.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-mgmt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-mgmt.c b/xlators/mgmt/glusterd/src/glusterd-mgmt.c
index c83e31ea8ed..092283a7daf 100644
--- a/xlators/mgmt/glusterd/src/glusterd-mgmt.c
+++ b/xlators/mgmt/glusterd/src/glusterd-mgmt.c
@@ -504,7 +504,6 @@ gd_mgmt_v3_lock (glusterd_op_t op, dict_t *op_ctx,
uuid_t recv_uuid)
{
gd1_mgmt_v3_lock_req req = {{0},};
- glusterd_conf_t *conf = THIS->private;
int32_t ret = -1;
xlator_t *this = NULL;
uuid_t *peerid = NULL;
@@ -809,7 +808,6 @@ gd_mgmt_v3_pre_validate_req (glusterd_op_t op, dict_t *op_ctx,
{
int32_t ret = -1;
gd1_mgmt_v3_pre_val_req req = {{0},};
- glusterd_conf_t *conf = THIS->private;
xlator_t *this = NULL;
uuid_t *peerid = NULL;
@@ -1100,7 +1098,6 @@ gd_mgmt_v3_brick_op_req (glusterd_op_t op, dict_t *op_ctx,
{
int32_t ret = -1;
gd1_mgmt_v3_brick_op_req req = {{0},};
- glusterd_conf_t *conf = THIS->private;
xlator_t *this = NULL;
uuid_t *peerid = {0,};
@@ -1349,7 +1346,6 @@ gd_mgmt_v3_commit_req (glusterd_op_t op, dict_t *op_ctx,
{
int32_t ret = -1;
gd1_mgmt_v3_commit_req req = {{0},};
- glusterd_conf_t *conf = THIS->private;
xlator_t *this = NULL;
uuid_t *peerid = NULL;
@@ -1580,7 +1576,6 @@ gd_mgmt_v3_post_validate_req (glusterd_op_t op, int32_t op_ret, dict_t *op_ctx,
{
int32_t ret = -1;
gd1_mgmt_v3_post_val_req req = {{0},};
- glusterd_conf_t *conf = THIS->private;
xlator_t *this = NULL;
uuid_t *peerid = NULL;
@@ -1799,7 +1794,6 @@ gd_mgmt_v3_unlock (glusterd_op_t op, dict_t *op_ctx,
{
int32_t ret = -1;
gd1_mgmt_v3_unlock_req req = {{0},};
- glusterd_conf_t *conf = THIS->private;
xlator_t *this = NULL;
uuid_t *peerid = NULL;