summaryrefslogtreecommitdiffstats
path: root/xlators/features/locks/src/entrylk.c
diff options
context:
space:
mode:
authorSachidananda <sac@gluster.com>2010-07-19 05:12:53 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-07-19 05:10:56 -0700
commitd20bf5113875b694b9dae0b75261feafc243c004 (patch)
tree679161f2079ee80d6d1cab0e85da1fcf38c9a5ba /xlators/features/locks/src/entrylk.c
parent321dee291451dcb299b61dcd26fce21df8c3b074 (diff)
Remove dead assignment reported by clang.
Signed-off-by: Sachidananda Urs <sac@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 1130 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1130
Diffstat (limited to 'xlators/features/locks/src/entrylk.c')
-rw-r--r--xlators/features/locks/src/entrylk.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/features/locks/src/entrylk.c b/xlators/features/locks/src/entrylk.c
index 603e73da0..ffdac7076 100644
--- a/xlators/features/locks/src/entrylk.c
+++ b/xlators/features/locks/src/entrylk.c
@@ -591,7 +591,6 @@ pl_common_entrylk (call_frame_t *frame, xlator_t *this,
void * transport = NULL;
pid_t pid = -1;
- uint64_t owner = -1;
pl_inode_t * pinode = NULL;
int ret = -1;
@@ -619,7 +618,6 @@ pl_common_entrylk (call_frame_t *frame, xlator_t *this,
entrylk_trace_in (this, frame, volume, fd, loc, basename, cmd, type);
pid = frame->root->pid;
- owner = (uint64_t)(long) frame->root;
transport = frame->root->trans;
if (pid == 0) {