]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove unused bufferlist variables 10194/head
authorYan Jun <yan.jun8@zte.com.cn>
Fri, 8 Jul 2016 02:14:36 +0000 (10:14 +0800)
committerYan Jun <yan.jun8@zte.com.cn>
Sat, 9 Jul 2016 07:20:35 +0000 (15:20 +0800)
Signed-off-by: Yan Jun <yan.jun8@zte.com.cn>
src/rgw/rgw_rados.cc

index 9e072479cd6bdad51881ce2fbeab8a51b7e0dbf8..7590d1c045ce782306d76c192b91ded501bf6668 100644 (file)
@@ -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<string, bufferlist> *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);