From fa952e8068283d1d78906d73de94a35fa3ab3a66 Mon Sep 17 00:00:00 2001
From: "lu.shasha" <lu.shasha@eisoo.com>
Date: Fri, 8 Sep 2017 15:16:13 +0800
Subject: [PATCH] rgw: drop unused function apply_epoch

Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
---
 src/cls/rgw/cls_rgw.cc | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/cls/rgw/cls_rgw.cc b/src/cls/rgw/cls_rgw.cc
index e42ec6529db..2da985ac80f 100644
--- a/src/cls/rgw/cls_rgw.cc
+++ b/src/cls/rgw/cls_rgw.cc
@@ -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) {