summaryrefslogtreecommitdiff
path: root/ctdb/include
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2014-08-11 17:10:23 +1000
committerMartin Schwenke <martins@samba.org>2014-09-05 07:05:10 +0200
commit2592ae5a56e813bb7cb68789f93fc281b1822a82 (patch)
tree1d1b3e8755e6ea64070b0730d5b2d50a07331825 /ctdb/include
parent374cbc7b0ff68e04ee4e395935509c7df817b3c0 (diff)
downloadsamba-2592ae5a56e813bb7cb68789f93fc281b1822a82.tar.gz
ctdb-locking: Remove unused function ctdb_free_lock_request_context
There is no need for a special function to free lock request and corresponding lock context. Freeing lock request will free lock context also. Signed-off-by: Amitay Isaacs <amitay@gmail.com> Reviewed-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'ctdb/include')
-rw-r--r--ctdb/include/ctdb_private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ctdb/include/ctdb_private.h b/ctdb/include/ctdb_private.h
index 7de9afbf14f..99fc5f8ed6e 100644
--- a/ctdb/include/ctdb_private.h
+++ b/ctdb/include/ctdb_private.h
@@ -1580,8 +1580,6 @@ struct lock_request;
int ctdb_lockall_mark_prio(struct ctdb_context *ctdb, uint32_t priority);
int ctdb_lockall_unmark_prio(struct ctdb_context *ctdb, uint32_t priority);
-void ctdb_lock_free_request_context(struct lock_request *lock_req);
-
struct lock_request *ctdb_lock_record(TALLOC_CTX *mem_ctx,
struct ctdb_db_context *ctdb_db,
TDB_DATA key,