From 51947922e1803dc4fceb80190faf5e37dcb2b290 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Fri, 30 Jul 2010 23:28:05 +0000 Subject: Remove dead variables. Signed-off-by: Sachidananda Urs Signed-off-by: Anand V. Avati BUG: 1106 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1106 --- xlators/performance/stat-prefetch/src/stat-prefetch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xlators/performance/stat-prefetch/src/stat-prefetch.c b/xlators/performance/stat-prefetch/src/stat-prefetch.c index b0e81abe5f6..66d7dffd265 100644 --- a/xlators/performance/stat-prefetch/src/stat-prefetch.c +++ b/xlators/performance/stat-prefetch/src/stat-prefetch.c @@ -739,7 +739,6 @@ sp_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, int32_t op_ret, int32_t op_errno, inode_t *inode, struct iatt *buf, dict_t *dict, struct iatt *postparent) { - int ret = 0; struct list_head waiting_ops = {0, }; call_stub_t *stub = NULL, *tmp = NULL; sp_local_t *local = NULL; @@ -774,7 +773,7 @@ sp_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, lookup_in_progress = 0; looked_up = 1; - ret = sp_update_inode_ctx (this, local->loc.inode, &op_ret, &op_errno, + sp_update_inode_ctx (this, local->loc.inode, &op_ret, &op_errno, &lookup_in_progress, &looked_up, buf, &waiting_ops, &op_errno); -- cgit