diff options
author | Sachidananda <sac@gluster.com> | 2010-08-17 05:38:25 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-08-17 11:18:11 -0700 |
commit | 08699df02322c5f8ec926edf367da4cb96b90ad3 (patch) | |
tree | 186096e5efc16acf006068938be834818c016d74 /xlators/performance | |
parent | ed180da84f153b47373e109f445f6775f950cb69 (diff) |
xlators/performance: quick-read.c remove dead assignments
Signed-off-by: Sachidananda Urs <sac@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1109 ()
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1109
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/quick-read/src/quick-read.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c index f277aa449bc..046e495efe9 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) { |