summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-07-30 23:25:06 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-08-02 07:49:57 -0700
commit790a7cfcf57e89c45716c2657665ae187b7b3fb6 (patch)
tree3caf3df2dfac1f93b894b720938164b282530178
parent83b77d5eaa1f1658e86b639c39574c04fa3feb48 (diff)
Remove unused variables.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1090 (clang errors in the file features/locks/posix.c) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1090
-rw-r--r--xlators/features/locks/src/posix.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index 550dba8760d..0db7623c3d3 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -360,11 +360,9 @@ int
pl_flush (call_frame_t *frame, xlator_t *this,
fd_t *fd)
{
- posix_locks_private_t *priv = NULL;
pl_inode_t *pl_inode = NULL;
uint64_t owner = -1;
- priv = this->private;
owner = frame->root->lk_owner;
pl_inode = pl_inode_get (this, fd->inode);
@@ -751,7 +749,6 @@ pl_lk (call_frame_t *frame, xlator_t *this,
void *transport = NULL;
pid_t client_pid = 0;
uint64_t owner = 0;
- posix_locks_private_t *priv = NULL;
pl_inode_t *pl_inode = NULL;
int op_ret = 0;
int op_errno = 0;
@@ -763,7 +760,6 @@ pl_lk (call_frame_t *frame, xlator_t *this,
transport = frame->root->trans;
client_pid = frame->root->pid;
owner = frame->root->lk_owner;
- priv = this->private;
pl_inode = pl_inode_get (this, fd->inode);
if (!pl_inode) {