summaryrefslogtreecommitdiffstats
path: root/src/rgw/services/svc_bucket_sobj.cc
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2019-06-26 22:13:50 +0200
committerCasey Bodley <cbodley@redhat.com>2019-07-29 21:20:49 +0200
commit081a4dee7cc39bd51093849407cec3884ed048c4 (patch)
tree447b4423bd5b34c094803b35b2f12559d944fad9 /src/rgw/services/svc_bucket_sobj.cc
parentrgw: code cleanup (diff)
downloadceph-081a4dee7cc39bd51093849407cec3884ed048c4.tar.xz
ceph-081a4dee7cc39bd51093849407cec3884ed048c4.zip
rgw: remove unused field from struct rgw_bucket
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/rgw/services/svc_bucket_sobj.cc')
-rw-r--r--src/rgw/services/svc_bucket_sobj.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rgw/services/svc_bucket_sobj.cc b/src/rgw/services/svc_bucket_sobj.cc
index 2537582369a..e6cd7d6ee13 100644
--- a/src/rgw/services/svc_bucket_sobj.cc
+++ b/src/rgw/services/svc_bucket_sobj.cc
@@ -334,10 +334,6 @@ int RGWSI_Bucket_SObj::do_read_bucket_instance_info(RGWSI_Bucket_BI_Ctx& ctx,
return -EIO;
}
info->objv_tracker = ot;
-#warning need to remove field?
-#if 0
- info->bucket.oid = obj.oid;
-#endif
return 0;
}
@@ -399,7 +395,6 @@ int RGWSI_Bucket_SObj::read_bucket_info(RGWSI_Bucket_X_Ctx& ctx,
if (entry_point.has_bucket_info) {
*info = entry_point.old_bucket_info;
- info->bucket.oid = bucket.name;
info->bucket.tenant = bucket.tenant;
info->ep_objv = ot.read_version;
ldout(cct, 20) << "rgw_get_bucket_info: old bucket info, bucket=" << info->bucket << " owner " << info->owner << dendl;