mon/PGMonitor: remove unused variable

last_pg_scan is not used in PGMonitor::update_from_paxos(), so remove
it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2017-03-06 14:01:51 +08:00
parent d86f15ca65
commit 89810eeb31

View File

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