]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/kstore: drop unused TransContext mutex and cond
authorJianjian Huo <samuel.huo@gmail.com>
Tue, 16 Feb 2016 19:40:23 +0000 (14:40 -0500)
committerJianjian Huo <samuel.huo@gmail.com>
Tue, 16 Feb 2016 19:40:23 +0000 (14:40 -0500)
Signed-off-by: Jianjian Huo <samuel.huo@gmail.com>
src/os/kstore/KStore.h

index 07104362d440b89e22b445a97fd339ac82dfa9fb..f380f4e6589a3c87cb15a6624b1603e5a7898390 100644 (file)
@@ -196,9 +196,6 @@ public:
     list<Context*> oncommits;  ///< more commit completions
     list<CollectionRef> removed_collections; ///< colls we removed
 
-    Mutex lock;
-    Cond cond;
-
     CollectionRef first_collection;  ///< first referenced collection
 
     explicit TransContext(OpSequencer *o)
@@ -208,8 +205,7 @@ public:
        bytes(0),
        oncommit(NULL),
        onreadable(NULL),
-       onreadable_sync(NULL),
-       lock("KStore::TransContext::lock") {
+       onreadable_sync(NULL) {
       //cout << "txc new " << this << std::endl;
     }
     ~TransContext() {