From: Casey Bodley Date: Fri, 29 Jan 2021 22:27:14 +0000 (-0500) Subject: rgw: removed unused RunBucketSourcesSync::ret X-Git-Tag: v17.1.0~3060^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d977b1d4759addb40de98652cc9dc9c3b95f541d;p=ceph.git rgw: removed unused RunBucketSourcesSync::ret added with yield_spawn_window() and drain_all_cb() but shadowed by the 'int ret' parameter in both callbacks Signed-off-by: Casey Bodley --- diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 67a8252e7602..73334db950ee 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -1226,8 +1226,6 @@ class RGWRunBucketSourcesSyncCR : public RGWCoroutine { RGWRESTConn *conn{nullptr}; rgw_zone_id last_zone; - int ret{0}; - int source_num_shards{0}; int target_num_shards{0};