Skip to content

Commit

Permalink
osd: pg: drop get_nrep() method, which is never used by anyone
Browse files Browse the repository at this point in the history
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
  • Loading branch information
xiexingguo committed Mar 15, 2016
1 parent dd9fbfc commit 2fc5c4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/osd/PG.h
Expand Up @@ -2107,7 +2107,6 @@ class PG : DoutPrefixProvider {

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;
Expand Down

0 comments on commit 2fc5c4d

Please sign in to comment.