summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-09-07 10:01:20 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-13 06:44:41 -0700
commit4f31b51fcb998651598cc297825ce4a3405a65fa (patch)
tree826d1fb81a34d023e676cd3aae05f88a44839853 /xlators/cluster
parent1b541ad1ec3b30982adbd1f08b050b4291ddb271 (diff)
cluster/afr: Clean up dead assignments.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1083 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1083
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-algorithm.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-algorithm.c b/xlators/cluster/afr/src/afr-self-heal-algorithm.c
index 51f5fd3df5b..7aeb98736a1 100644
--- a/xlators/cluster/afr/src/afr-self-heal-algorithm.c
+++ b/xlators/cluster/afr/src/afr-self-heal-algorithm.c
@@ -54,12 +54,10 @@
static void
sh_full_private_cleanup (call_frame_t *frame, xlator_t *this)
{
- afr_private_t * priv = NULL;
afr_local_t * local = NULL;
afr_self_heal_t * sh = NULL;
afr_sh_algo_full_private_t *sh_priv = NULL;
- priv = this->private;
local = frame->local;
sh = &local->self_heal;
@@ -76,7 +74,6 @@ sh_full_loop_driver (call_frame_t *frame, xlator_t *this);
static int
sh_full_loop_return (call_frame_t *rw_frame, xlator_t *this, off_t offset)
{
- afr_private_t * priv = NULL;
afr_local_t * rw_local = NULL;
afr_self_heal_t * rw_sh = NULL;
@@ -85,8 +82,6 @@ sh_full_loop_return (call_frame_t *rw_frame, xlator_t *this, off_t offset)
afr_self_heal_t *sh = NULL;
afr_sh_algo_full_private_t *sh_priv = NULL;
- priv = this->private;
-
rw_local = rw_frame->local;
rw_sh = &rw_local->self_heal;
@@ -375,12 +370,10 @@ out:
int
afr_sh_algo_full (call_frame_t *frame, xlator_t *this)
{
- afr_private_t * priv = NULL;
afr_local_t * local = NULL;
afr_self_heal_t * sh = NULL;
afr_sh_algo_full_private_t *sh_priv = NULL;
- priv = this->private;
local = frame->local;
sh = &local->self_heal;