]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
os/bluestore: get rid off unused SharedBlob::hash_value function.
authorIgor Fedotov <ifedotov@mirantis.com>
Fri, 13 Jan 2017 13:42:24 +0000 (13:42 +0000)
committerIgor Fedotov <ifedotov@mirantis.com>
Thu, 26 Jan 2017 23:37:44 +0000 (23:37 +0000)
Signed-off-by: Igor Fedotov <ifedotov@mirantis.com>
src/os/bluestore/BlueStore.h

index d6c57869a672a5ce5ee83177d820785ec9c112e3..68891bbd1e7f9a0ca6c5403faeed8fede0ee3585 100644 (file)
@@ -364,10 +364,6 @@ public:
     friend bool operator==(const SharedBlob &l, const SharedBlob &r) {
       return l.get_sbid() == r.get_sbid();
     }
-    friend std::size_t hash_value(const SharedBlob &e) {
-      rjhash<uint32_t> h;
-      return h(e.get_sbid());
-    }
     inline Cache* get_cache() {
       return coll ? coll->cache : nullptr;
     }