summaryrefslogtreecommitdiffstats
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-07-15 12:59:57 +1000
committerVolker Lendecke <vl@samba.org>2014-08-04 17:59:52 +0200
commit3aa96c3a3eb87fc6a1ad94c983e363b402b48ff5 (patch)
tree98366599ca0ad41fed96cbc21602e2bc226d822a /ctdb/include
parent3ff8ec02830b5fd2f88e33748a2bfd9f066a1285 (diff)
downloadsamba-3aa96c3a3eb87fc6a1ad94c983e363b402b48ff5.tar.gz
samba-3aa96c3a3eb87fc6a1ad94c983e363b402b48ff5.tar.xz
samba-3aa96c3a3eb87fc6a1ad94c983e363b402b48ff5.zip
ctdb-locking: Remove unused variable lock_num_pending
The number of pending locks displayed in ctdb statistics are stored in ctdb_statistics structure and not ctdb_context. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 459e96d4ea..68d45a3afe 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -558,7 +558,6 @@ struct ctdb_context {
struct trbt_tree *child_processes;
/* Used for locking record/db/alldb */
- int lock_num_pending;
struct lock_context *lock_current;
struct lock_context *lock_pending;
};