rgw: remove unused variable

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2019-02-21 14:58:42 -08:00
parent 56b5cc1bdb
commit 0a306290ee
2 changed files with 2 additions and 5 deletions

View File

@ -1977,11 +1977,10 @@ string RGWDataSyncStatusManager::shard_obj_name(const string& source_zone, int s
RGWRemoteBucketLog::RGWRemoteBucketLog(const DoutPrefixProvider *_dpp,
rgw::sal::RGWRadosStore *_store,
RGWBucketSyncStatusManager *_sm,
RGWAsyncRadosProcessor *_async_rados,
RGWHTTPManager *_http_manager)
: RGWCoroutinesManager(_store->ctx(), _store->getRados()->get_cr_registry()),
dpp(_dpp), store(_store), status_manager(_sm),
dpp(_dpp), store(_store),
async_rados(_async_rados), http_manager(_http_manager)
{
}
@ -3430,7 +3429,7 @@ int RGWBucketSyncStatusManager::init()
auto async_rados = store->svc()->rados->get_async_processor();
for (int i = 0; i < effective_num_shards; i++) {
RGWRemoteBucketLog *l = new RGWRemoteBucketLog(this, store, this, async_rados, &http_manager);
RGWRemoteBucketLog *l = new RGWRemoteBucketLog(this, store, async_rados, &http_manager);
ret = l->init(source_zone, conn, bucket, (num_shards ? i : -1), error_logger, store->getRados()->get_sync_tracer(), sync_module);
if (ret < 0) {
ldpp_dout(this, 0) << "ERROR: failed to initialize RGWRemoteBucketLog object" << dendl;

View File

@ -529,7 +529,6 @@ class RGWRemoteBucketLog : public RGWCoroutinesManager {
string source_zone;
rgw_bucket_shard bs;
RGWBucketSyncStatusManager *status_manager;
RGWAsyncRadosProcessor *async_rados;
RGWHTTPManager *http_manager;
@ -540,7 +539,6 @@ class RGWRemoteBucketLog : public RGWCoroutinesManager {
public:
RGWRemoteBucketLog(const DoutPrefixProvider *_dpp, rgw::sal::RGWRadosStore *_store,
RGWBucketSyncStatusManager *_sm,
RGWAsyncRadosProcessor *_async_rados,
RGWHTTPManager *_http_manager);