summaryrefslogtreecommitdiffstats
path: root/source/locking/brlock.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/locking/brlock.c')
-rw-r--r--source/locking/brlock.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/locking/brlock.c b/source/locking/brlock.c
index 5c3dae02c02..175ab5c9b0a 100644
--- a/source/locking/brlock.c
+++ b/source/locking/brlock.c
@@ -118,13 +118,11 @@ delete a record if it is for a dead process
static int delete_fn(TDB_CONTEXT *ttdb, TDB_DATA kbuf, TDB_DATA dbuf, void *state)
{
struct lock_struct *locks;
- struct lock_key *key;
int count, i;
tdb_chainlock(tdb, kbuf);
locks = (struct lock_struct *)dbuf.dptr;
- key = (struct lock_key *)kbuf.dptr;
count = dbuf.dsize / sizeof(*locks);
for (i=0; i<count; i++) {