From: xie xingguo Date: Fri, 17 Aug 2018 08:46:46 +0000 (+0800) Subject: osd/osd_types: kill overlaps_with() of pg_info_t X-Git-Tag: v14.0.1~435^2~2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8c6837cfc2548614c03de215ada5753672ad5d9d;p=ceph.git osd/osd_types: kill overlaps_with() of pg_info_t Which has no consumers. Signed-off-by: xie xingguo --- diff --git a/src/osd/osd_types.h b/src/osd/osd_types.h index 1945272bef3b0..02133ab1fb516 100644 --- a/src/osd/osd_types.h +++ b/src/osd/osd_types.h @@ -2417,11 +2417,6 @@ struct pg_info_t { void encode(bufferlist& bl) const; void decode(bufferlist::const_iterator& p); void dump(Formatter *f) const; - bool overlaps_with(const pg_info_t &oinfo) const { - return last_update > oinfo.log_tail ? - oinfo.last_update >= log_tail : - last_update >= oinfo.log_tail; - } static void generate_test_instances(list& o); }; WRITE_CLASS_ENCODER(pg_info_t)