From 08699df02322c5f8ec926edf367da4cb96b90ad3 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Tue, 17 Aug 2010 05:38:25 +0000 Subject: xlators/performance: quick-read.c remove dead assignments Signed-off-by: Sachidananda Urs Signed-off-by: Anand V. Avati BUG: 1109 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1109 --- xlators/performance/quick-read/src/quick-read.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index f277aa449..046e495ef 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -582,12 +582,10 @@ qr_open (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags, qr_fd_ctx_t *qr_fd_ctx = NULL, *tmp_fd_ctx = NULL; int32_t op_ret = -1, op_errno = -1; qr_local_t *local = NULL; - qr_conf_t *conf = NULL; qr_private_t *priv = NULL; qr_inode_table_t *table = NULL; priv = this->private; - conf = &priv->conf; table = &priv->table; tmp_fd_ctx = qr_fd_ctx = GF_CALLOC (1, sizeof (*qr_fd_ctx), @@ -927,7 +925,6 @@ qr_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, qr_conf_t *conf = NULL; struct iovec *vector = NULL; char *path = NULL; - glusterfs_ctx_t *ctx = NULL; off_t start = 0, end = 0; size_t len = 0; struct iobuf_pool *iobuf_pool = NULL; @@ -997,7 +994,6 @@ qr_readv (call_frame_t *frame, xlator_t *this, fd_t *fd, size_t size, } } - ctx = this->ctx; count = (op_ret / iobuf_pool->page_size); if ((op_ret % iobuf_pool->page_size) != 0) { -- cgit