]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: pg: drop get_nrep() method, which is never used by anyone 7754/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Tue, 15 Mar 2016 08:52:53 +0000 (16:52 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Tue, 15 Mar 2016 13:21:12 +0000 (21:21 +0800)
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.h

index 5491b5ab3306db6c424eef7b1e7fe19d3f073e47..1df129fcbd818282fa367e150fbcccc0b47302a5 100644 (file)
@@ -2107,7 +2107,6 @@ public:
 
  public:
   const spg_t&      get_pgid() const { return pg_id; }
-  int        get_nrep() const { return acting.size(); }
 
   void reset_min_peer_features() {
     peer_features = CEPH_FEATURES_SUPPORTED_DEFAULT;