From 4f31b51fcb998651598cc297825ce4a3405a65fa Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Tue, 7 Sep 2010 10:01:20 +0000 Subject: cluster/afr: Clean up dead assignments. Signed-off-by: Sachidananda Urs Signed-off-by: Vijay Bellur BUG: 1083 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1083 --- xlators/cluster/afr/src/afr-self-heal-algorithm.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'xlators/cluster/afr/src/afr-self-heal-algorithm.c') 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; -- cgit