From: Casey Bodley Date: Fri, 29 Jan 2021 22:27:14 +0000 (-0500) Subject: rgw: removed unused RunBucketSourcesSync::ret X-Git-Tag: v16.2.0~173^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4f1263565bd12cc11714b5a3ffacad417133e01c;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 (cherry picked from commit d977b1d4759addb40de98652cc9dc9c3b95f541d) --- diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 9efe9ec9ac7..9b179aa6e17 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};