]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/OSDMap: remove get_inst()
authorSage Weil <sage@redhat.com>
Wed, 30 May 2018 19:38:43 +0000 (14:38 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jun 2018 13:08:20 +0000 (08:08 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSDMap.h

index 24d0a0c45259491ce5285375ac8ece30b8af1fc4..82173bd474d152ede66b7b666bd6293b99bf4b69 100644 (file)
@@ -933,14 +933,6 @@ public:
     assert(exists(osd));
     return osd_addrs->hb_front_addr[osd] ? *osd_addrs->hb_front_addr[osd] : osd_addrs->blank;
   }
-  entity_inst_t get_most_recent_inst(int osd) const {
-    assert(exists(osd));
-    return entity_inst_t(entity_name_t::OSD(osd), get_addr(osd));
-  }
-  entity_inst_t get_inst(int osd) const {
-    assert(is_up(osd));
-    return get_most_recent_inst(osd);
-  }
 
   const uuid_d& get_uuid(int osd) const {
     assert(exists(osd));