]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: remove unused code
authorYehuda Sadeh <yehuda@redhat.com>
Fri, 7 Nov 2014 06:00:27 +0000 (22:00 -0800)
committerYehuda Sadeh <yehuda@redhat.com>
Mon, 19 Jan 2015 23:57:51 +0000 (15:57 -0800)
Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
src/rgw/rgw_rados.cc

index 2546c56305d8ac4fcf317489addb34f286ece984..e333b15ed23cd2101ffca05c239bb826df0a9b05 100644 (file)
@@ -5660,13 +5660,6 @@ int RGWRados::bucket_index_trim_olh_log(RGWObjState& state, rgw_obj& obj_instanc
   return 0;
 }
 
-static void op_setxattr(librados::ObjectWriteOperation& op, const char *name, const string& val)
-{
-  bufferlist bl;
-  bl.append(val);
-  op.setxattr(name, bl);
-}
-
 int RGWRados::apply_olh_log(RGWObjectCtx& obj_ctx, RGWObjState& state, const string& bucket_owner, rgw_obj& obj,
                             bufferlist& olh_tag, map<uint64_t, rgw_bucket_olh_log_entry>& log,
                             uint64_t *plast_ver)