]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd/PG: remove unused code. 30930/head
authorJianpeng Ma <jianpeng.ma@intel.com>
Tue, 15 Oct 2019 07:14:11 +0000 (15:14 +0800)
committerJianpeng Ma <jianpeng.ma@intel.com>
Tue, 15 Oct 2019 07:14:11 +0000 (15:14 +0800)
Signed-off-by: Jianpeng Ma <jianpeng.ma@intel.com>
src/osd/PG.h

index 0d56319fd2cc6595011e5d603d8fc55a012e28a7..1ed490a0a9aff310aa29fae82ec45a05509e9636 100644 (file)
@@ -1493,9 +1493,6 @@ protected:
   bool old_peering_evt(PGPeeringEventRef evt) {
     return old_peering_msg(evt->get_epoch_sent(), evt->get_epoch_requested());
   }
-  static bool have_same_or_newer_map(epoch_t cur_epoch, epoch_t e) {
-    return e <= cur_epoch;
-  }
   bool have_same_or_newer_map(epoch_t e) {
     return e <= get_osdmap_epoch();
   }