diff --git a/src/rgw/rgw_sal.h b/src/rgw/rgw_sal.h index 20a7c7f5dea..646f2937fd3 100644 --- a/src/rgw/rgw_sal.h +++ b/src/rgw/rgw_sal.h @@ -173,7 +173,6 @@ class RGWStore { RGWObjectCtx& obj_ctx, std::unique_ptr _head_obj, const DoutPrefixProvider *dpp, optional_yield y) = 0; virtual RGWLC* get_rgwlc(void) = 0; - virtual RGWCtl* get_ctl(void) = 0; virtual RGWCoroutinesManagerRegistry* get_cr_registry() = 0; virtual int delete_raw_obj(const rgw_raw_obj& obj) = 0; virtual int delete_raw_obj_aio(const rgw_raw_obj& obj, Completions* aio) = 0; diff --git a/src/rgw/rgw_sal_rados.h b/src/rgw/rgw_sal_rados.h index 32cf7925416..2fa77dba78d 100644 --- a/src/rgw/rgw_sal_rados.h +++ b/src/rgw/rgw_sal_rados.h @@ -405,7 +405,6 @@ class RGWRadosStore : public RGWStore { RGWObjectCtx& obj_ctx, std::unique_ptr _head_obj, const DoutPrefixProvider *dpp, optional_yield y) override; virtual RGWLC* get_rgwlc(void) override { return rados->get_lc(); } - virtual RGWCtl* get_ctl(void) override { return rados->pctl; } virtual RGWCoroutinesManagerRegistry* get_cr_registry() override { return rados->get_cr_registry(); } virtual int delete_raw_obj(const rgw_raw_obj& obj) override; virtual int delete_raw_obj_aio(const rgw_raw_obj& obj, Completions* aio) override;