From: Kefu Chai Date: Mon, 6 Mar 2017 06:01:51 +0000 (+0800) Subject: mon/PGMonitor: remove unused variable X-Git-Tag: v12.0.2~256^2~17 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=89810eeb31a06367e6503e4b7af0e1379ff876e3;p=ceph.git mon/PGMonitor: remove unused variable last_pg_scan is not used in PGMonitor::update_from_paxos(), so remove it. Signed-off-by: Kefu Chai --- diff --git a/src/mon/PGMonitor.cc b/src/mon/PGMonitor.cc index 508cf9d95ffa3..547d510aa805d 100644 --- a/src/mon/PGMonitor.cc +++ b/src/mon/PGMonitor.cc @@ -176,8 +176,6 @@ void PGMonitor::update_from_paxos(bool *need_bootstrap) // pg/osd keys in leveldb // read meta - epoch_t last_pg_scan = pg_map.last_pg_scan; - while (version > pg_map.version) { // load full state? if (pg_map.version == 0) {