summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-utils.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-utils.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-utils.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 55597cd39cf..593939a5917 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -1616,7 +1616,6 @@ glusterd_brick_connect (glusterd_volinfo_t *volinfo,
char *brickid = NULL;
dict_t *options = NULL;
struct rpc_clnt *rpc = NULL;
- glusterd_conf_t *priv = THIS->private;
GF_ASSERT (volinfo);
GF_ASSERT (brickinfo);
@@ -10585,7 +10584,6 @@ glusterd_update_mntopts (char *brick_path, glusterd_brickinfo_t *brickinfo)
char *cmd = NULL;
struct mntent *entry = NULL;
struct mntent save_entry = {0,};
- runner_t runner = {0,};
xlator_t *this = NULL;
this = THIS;