]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: drop unused function apply_epoch 17593/head
authorlu.shasha <lu.shasha@eisoo.com>
Fri, 8 Sep 2017 07:16:13 +0000 (15:16 +0800)
committerlu.shasha <lu.shasha@eisoo.com>
Fri, 8 Sep 2017 07:16:13 +0000 (15:16 +0800)
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
src/cls/rgw/cls_rgw.cc

index e42ec6529db380ac71cd09d4e2975169e90693e8..2da985ac80f0b117ebbe652f4489d86f00bd4027 100644 (file)
@@ -1218,15 +1218,6 @@ public:
     return 0;
   }
 
-  bool apply_epoch(uint64_t candidate_epoch) {
-    if (candidate_epoch < olh_data_entry.epoch) {
-      return false;
-    }
-
-    olh_data_entry.epoch = candidate_epoch;
-    return true;
-  }
-
   bool start_modify(uint64_t candidate_epoch) {
     if (candidate_epoch) {
       if (candidate_epoch < olh_data_entry.epoch) {