From: Yan Jun Date: Fri, 8 Jul 2016 02:14:36 +0000 (+0800) Subject: rgw: remove unused bufferlist variables X-Git-Tag: ses5-milestone5~186^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fb85cc8f30081cb2a4b36e50ce8ae70cb6531c64;p=ceph.git rgw: remove unused bufferlist variables Signed-off-by: Yan Jun --- diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 9e072479cd6b..7590d1c045ce 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -10619,8 +10619,6 @@ int RGWRados::get_bucket_info(RGWObjectCtx& obj_ctx, return 0; } - bufferlist bl; - RGWBucketEntryPoint entry_point; real_time ep_mtime; RGWObjVersionTracker ot; @@ -10726,8 +10724,6 @@ int RGWRados::put_bucket_instance_info(RGWBucketInfo& info, bool exclusive, int RGWRados::put_linked_bucket_info(RGWBucketInfo& info, bool exclusive, real_time mtime, obj_version *pep_objv, map *pattrs, bool create_entry_point) { - bufferlist bl; - bool create_head = !info.has_instance_obj || create_entry_point; int ret = put_bucket_instance_info(info, exclusive, mtime, pattrs);