]> 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, 29 Jan 2021 22:27:16 +0000 (17:27 -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>
src/rgw/rgw_data_sync.cc

index 67a8252e760246fd7ecdfd83c82b3a1d3b25edbd..73334db950eedad8d793004815562533a2427666 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};