]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
PG: remove redundant statements
authorxiexingguo <258156334@qq.com>
Wed, 2 Dec 2015 07:00:34 +0000 (15:00 +0800)
committerxiexingguo <xie.xingguo@zte.com.cn>
Wed, 2 Dec 2015 11:01:33 +0000 (19:01 +0800)
These two statements do not needed anymore
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/PG.cc

index 1d03adeaf266f481c651969ee7a029816805ee98..24a2552492b088ad172a547c06d09e8e652a9358 100644 (file)
@@ -952,12 +952,10 @@ map<pg_shard_t, pg_info_t>::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;
     }
   }