From: xiexingguo <258156334@qq.com> Date: Wed, 2 Dec 2015 07:00:34 +0000 (+0800) Subject: PG: remove redundant statements X-Git-Tag: v10.0.3~192^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=414252c6540b05f1ea600e59e583e05c7c8333a2;p=ceph.git PG: remove redundant statements These two statements do not needed anymore Signed-off-by: xie xingguo --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index 1d03adeaf26..24a2552492b 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -952,12 +952,10 @@ map::const_iterator PG::find_best_info( ++i) { if (!cct->_conf->osd_find_best_info_ignore_history_les && max_last_epoch_started_found < i->second.history.last_epoch_started) { - min_last_update_acceptable = eversion_t::max(); max_last_epoch_started_found = i->second.history.last_epoch_started; } if (!i->second.is_incomplete() && max_last_epoch_started_found < i->second.last_epoch_started) { - min_last_update_acceptable = eversion_t::max(); max_last_epoch_started_found = i->second.last_epoch_started; } }