From: locallocal Date: Wed, 15 Dec 2021 04:53:44 +0000 (+0800) Subject: osd: remove unused variable legacy_infos_oid in the function PG::peek_map_epoch. X-Git-Tag: v17.1.0~198^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F44314%2Fhead;p=ceph.git osd: remove unused variable legacy_infos_oid in the function PG::peek_map_epoch. Signed-off-by: locallocal --- diff --git a/src/osd/PG.cc b/src/osd/PG.cc index d3a17f5ce3b7..d3345319acbc 100644 --- a/src/osd/PG.cc +++ b/src/osd/PG.cc @@ -986,7 +986,6 @@ int PG::peek_map_epoch(ObjectStore *store, epoch_t *pepoch) { coll_t coll(pgid); - ghobject_t legacy_infos_oid(OSD::make_infos_oid()); ghobject_t pgmeta_oid(pgid.make_pgmeta_oid()); epoch_t cur_epoch = 0;