summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/common.c
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-07-20 05:03:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-20 09:46:01 -0700
commitfcf62afec2730e14372221e323127cc11dae46db (patch)
treed1706b46dd0fd0c798d5a304a268e676c5ca2da0 /xlators/features/locks/src/common.c
parent6d25218a8cb0722e156de3fe73c2e5e577117a62 (diff)
Remove dead assignment.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1131 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1131
Diffstat (limited to 'xlators/features/locks/src/common.c')
-rw-r--r--xlators/features/locks/src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/locks/src/common.c b/xlators/features/locks/src/common.c
index 8ab9feaaf05..2ba8df002cf 100644
--- a/xlators/features/locks/src/common.c
+++ b/xlators/features/locks/src/common.c
@@ -442,7 +442,7 @@ pl_inode_get (xlator_t *this, inode_t *inode)
INIT_LIST_HEAD (&pl_inode->ext_list);
INIT_LIST_HEAD (&pl_inode->rw_list);
- ret = inode_ctx_put (inode, this, (uint64_t)(long)(pl_inode));
+ inode_ctx_put (inode, this, (uint64_t)(long)(pl_inode));
out:
return pl_inode;