Merge pull request #17593 from shashalu/fix-clean-up-apply_epoch

rgw: drop unused function apply_epoch

Reviewed-by: Jos Collin <jcollin@redhat.com>
This commit is contained in:
Jos Collin 2017-09-08 11:15:59 +00:00 committed by GitHub
commit fa0a832ee6

View 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) {