From 89810eeb31a06367e6503e4b7af0e1379ff876e3 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Mon, 6 Mar 2017 14:01:51 +0800 Subject: [PATCH] mon/PGMonitor: remove unused variable last_pg_scan is not used in PGMonitor::update_from_paxos(), so remove it. Signed-off-by: Kefu Chai --- src/mon/PGMonitor.cc | 2 -- 1 file changed, 2 deletions(-) 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) { -- 2.39.5