]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Remove dead code in EC LRC plugin 2806/head
authorYuan Zhou <yuan.zhou@intel.com>
Mon, 27 Oct 2014 07:08:12 +0000 (15:08 +0800)
committerYuan Zhou <yuan.zhou@intel.com>
Mon, 27 Oct 2014 07:10:46 +0000 (15:10 +0800)
The layer_minimum_to_decode() seems to be dead.

Signed-off-by: Yuan Zhou <yuan.zhou@intel.com>
src/erasure-code/lrc/ErasureCodeLrc.h

index e727487106042a754e8b2673ec9d5894c958414c..1c732737bb242c0a3323533fd0be8cb1bd455bd0 100644 (file)
@@ -87,11 +87,6 @@ public:
                                const set<int> &available,
                                set<int> *minimum);
 
-  int layer_minimum_to_decode(const Layer &layer,
-                             const set<int> &want,
-                             const set<int> &available,
-                             set<int> *minimum) const;
-
   virtual int create_ruleset(const string &name,
                             CrushWrapper &crush,
                             ostream *ss) const;