summaryrefslogtreecommitdiffstats
path: root/xlators/performance/stat-prefetch/src/stat-prefetch.c
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-07-30 23:28:05 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-02 07:50:02 -0700
commit51947922e1803dc4fceb80190faf5e37dcb2b290 (patch)
tree07ad3da1828cf41fba5eaab4da55497b8fb052d6 /xlators/performance/stat-prefetch/src/stat-prefetch.c
parent790a7cfcf57e89c45716c2657665ae187b7b3fb6 (diff)
Remove dead variables.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1106 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1106
Diffstat (limited to 'xlators/performance/stat-prefetch/src/stat-prefetch.c')
-rw-r--r--xlators/performance/stat-prefetch/src/stat-prefetch.c3
1 files changed, 1 insertions, 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);