summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-diskusage.c
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-07-31 08:56:10 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-02 07:50:09 -0700
commit8d7682cd5cfb22b06a4f11e2589137ebe85a4709 (patch)
treeb20c2c5a361aee220e4ad89d122c428c6c00b4e7 /xlators/cluster/dht/src/dht-diskusage.c
parentb4cd88214effe7889b581489d3865ac080d25391 (diff)
Remove dead variables.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1068 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1068
Diffstat (limited to 'xlators/cluster/dht/src/dht-diskusage.c')
-rw-r--r--xlators/cluster/dht/src/dht-diskusage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c
index 51769c04296..d2decd9d11b 100644
--- a/xlators/cluster/dht/src/dht-diskusage.c
+++ b/xlators/cluster/dht/src/dht-diskusage.c
@@ -38,14 +38,12 @@ dht_du_info_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
int op_ret, int op_errno, struct statvfs *statvfs)
{
dht_conf_t *conf = NULL;
- dht_local_t *local = NULL;
call_frame_t *prev = NULL;
int this_call_cnt = 0;
int i = 0;
double percent = 0;
uint64_t bytes = 0;
- local = frame->local;
conf = this->private;
prev = cookie;