Skip to content

Commit

Permalink
rgw:clean unuse bufferlist
Browse files Browse the repository at this point in the history
Signed-off-by: weiqiaomiao <wei.qiaomiao@zte.com.cn>
  • Loading branch information
weiqiaomiao committed Jul 11, 2016
1 parent 89ba840 commit edac33d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/rgw/rgw_rados.cc
Expand Up @@ -5032,9 +5032,6 @@ int RGWRados::create_bucket(RGWUserInfo& owner, rgw_bucket& bucket,
&selected_placement_rule_name, &rule_info);
if (ret < 0)
return ret;
bufferlist bl;
uint32_t nop = 0;
::encode(nop, bl);

if (!pmaster_bucket) {
uint64_t iid = instance_id();
Expand Down Expand Up @@ -10726,7 +10723,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<string, bufferlist> *pattrs, bool create_entry_point)
{
bufferlist bl;

bool create_head = !info.has_instance_obj || create_entry_point;

Expand Down

0 comments on commit edac33d

Please sign in to comment.