summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/features/locks/src/posix.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/xlators/features/locks/src/posix.c b/xlators/features/locks/src/posix.c
index 149b6eb92a0..0f83b2aa9df 100644
--- a/xlators/features/locks/src/posix.c
+++ b/xlators/features/locks/src/posix.c
@@ -2951,9 +2951,6 @@ void
__unwind_queued_locks (xlator_t *this, pl_inode_t *pl_inode,
struct list_head *tmp_list)
{
- posix_lock_t *lock = NULL;
- posix_lock_t *tmp = NULL;
-
if (list_empty (&pl_inode->queued_locks))
return;