]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: removed unused RunBucketSourcesSync::ret
authorCasey Bodley <cbodley@redhat.com>
Fri, 29 Jan 2021 22:27:14 +0000 (17:27 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 12 Feb 2021 16:15:56 +0000 (11:15 -0500)
added with yield_spawn_window() and drain_all_cb() but shadowed by the
'int ret' parameter in both callbacks

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit d977b1d4759addb40de98652cc9dc9c3b95f541d)

src/rgw/rgw_data_sync.cc

index 9efe9ec9ac7073067e0ace6c526ee7fe5c0d876a..9b179aa6e17b8ad5771d33b058fdd9f44d205896 100644 (file)
@@ -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};