crimson/osd/shard_services: get_or_create_pg() remove unused variable

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
This commit is contained in:
Matan Breizman 2023-05-24 15:36:10 +00:00
parent ecac14a700
commit a8800c7e70
3 changed files with 1 additions and 3 deletions

View File

@ -211,7 +211,7 @@ public:
auto &&trigger) {
return shard_services.get_or_create_pg(
std::move(trigger),
opref.get_pgid(), opref.get_epoch(),
opref.get_pgid(),
std::move(opref.get_create_info())
);
}).safe_then([&logger, &shard_services, &opref](Ref<PG> pgref) {

View File

@ -611,7 +611,6 @@ ShardServices::get_or_create_pg_ret
ShardServices::get_or_create_pg(
PGMap::PGCreationBlockingEvent::TriggerI&& trigger,
spg_t pgid,
epoch_t epoch,
std::unique_ptr<PGCreateInfo> info)
{
if (info) {

View File

@ -428,7 +428,6 @@ public:
get_or_create_pg_ret get_or_create_pg(
PGMap::PGCreationBlockingEvent::TriggerI&&,
spg_t pgid,
epoch_t epoch,
std::unique_ptr<PGCreateInfo> info);
using wait_for_pg_ertr = PGMap::wait_for_pg_ertr;