]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: remove unused variable legacy_infos_oid in the function PG::peek_map_epoch. 44314/head
authorlocallocal <locallocal@163.com>
Wed, 15 Dec 2021 04:53:44 +0000 (12:53 +0800)
committerlocallocal <locallocal@163.com>
Wed, 15 Dec 2021 04:57:47 +0000 (12:57 +0800)
Signed-off-by: locallocal <locallocal@163.com>
src/osd/PG.cc

index d3a17f5ce3b7e88d9b269bd9436084d7b686cf36..d3345319acbc6cfa117c557d4dfdde53e6c2c160 100644 (file)
@@ -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;