libctdb: removed unused lock field from struct ctdb_db
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 18 Jun 2010 06:17:14 +0000 (15:47 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 18 Jun 2010 06:17:14 +0000 (15:47 +0930)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
libctdb/ctdb.c

index df429493573bad30a7b80dd8c81a9c8e21726d3e..3d587c741948d710f67ce2cdc9d8cf8eac9c021d 100644 (file)
@@ -470,9 +470,6 @@ struct ctdb_db {
        uint32_t id;
        struct tdb_context *tdb;
 
-       /* The lock we are holding, if any (we can only have one!) */
-       struct ctdb_lock *lock;
-
        ctdb_callback_t callback;
        void *private_data;
 };