]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/tools/ceph_dedup_tool: remove unused code
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 23 Jun 2023 05:05:27 +0000 (05:05 +0000)
committermyoungwon oh <ohmyoungwon@gmail.com>
Fri, 23 Jun 2023 05:05:27 +0000 (05:05 +0000)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/tools/ceph_dedup_tool.cc

index f3c942a976044e64db7e17c4c817072e96a017f4..b8c79efa42efb26bae5254dbcf94ffac0912d31a 100644 (file)
@@ -570,11 +570,6 @@ public:
       return cur_reference >= dedup_threshold && dedup_threshold != -1;
     }
 
-    void init(size_t dedup_threshold_) {
-      std::unique_lock lock(fingerprint_lock);
-      fp_map.clear();
-      dedup_threshold = dedup_threshold_;
-    }
     FpStore(size_t chunk_threshold) : dedup_threshold(chunk_threshold) { }
 
   private: