From 790a7cfcf57e89c45716c2657665ae187b7b3fb6 Mon Sep 17 00:00:00 2001 From: Sachidananda Date: Fri, 30 Jul 2010 23:25:06 +0000 Subject: Remove unused variables. Signed-off-by: Sachidananda Urs Signed-off-by: Anand V. Avati BUG: 1090 (clang errors in the file features/locks/posix.c) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1090 --- xlators/features/locks/src/posix.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'xlators/features') 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) { -- cgit