mon: pgstat: remove unused get_pg_sum interface

Signed-off-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
Greg Farnum 2017-05-31 18:28:03 -07:00 committed by Sage Weil
parent 9fd76f57fd
commit ad630462e7
3 changed files with 0 additions and 3 deletions

View File

@ -24,7 +24,6 @@ public:
return nullptr;
}
const pool_stat_t& get_pg_sum() const override { return digest.pg_sum; }
const osd_stat_t& get_osd_sum() const override { return digest.osd_sum; }
ceph_statfs get_statfs() const override {

View File

@ -1187,7 +1187,6 @@ public:
return nullptr;
}
const pool_stat_t& get_pg_sum() const override { return pgmap.pg_sum; }
const osd_stat_t& get_osd_sum() const override { return pgmap.osd_sum; }
const osd_stat_t *get_osd_stat(int osd) const override {

View File

@ -38,7 +38,6 @@ public:
*/
virtual bool is_readable() const { return true; }
virtual const pool_stat_t* get_pool_stat(int poolid) const = 0;
virtual const pool_stat_t& get_pg_sum() const = 0;
virtual const osd_stat_t& get_osd_sum() const = 0;
virtual const osd_stat_t *get_osd_stat(int osd) const {