]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: remove unused cls_user_add_bucket
authorYao Zongyou <yaozongyou@vip.qq.com>
Thu, 11 Jan 2018 07:15:09 +0000 (15:15 +0800)
committerYao Zongyou <yaozongyou@vip.qq.com>
Thu, 11 Jan 2018 07:15:09 +0000 (15:15 +0800)
the function
`int cls_user_add_bucket(rgw_raw_obj& obj, list<cls_user_bucket_entry>& entries);`
is unsed and not implemented, so remove it.

Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
src/rgw/rgw_rados.h

index 2b9b9c468cac5a788a8fbc668ed160609c5ca9a8..0d703b086476ab2cf2853f10fee3f36b916efb42 100644 (file)
@@ -3577,7 +3577,6 @@ public:
   int cls_user_update_buckets(rgw_raw_obj& obj, list<cls_user_bucket_entry>& entries, bool add);
   int cls_user_complete_stats_sync(rgw_raw_obj& obj);
   int complete_sync_user_stats(const rgw_user& user_id);
-  int cls_user_add_bucket(rgw_raw_obj& obj, list<cls_user_bucket_entry>& entries);
   int cls_user_remove_bucket(rgw_raw_obj& obj, const cls_user_bucket& bucket);
   int cls_user_get_bucket_stats(const rgw_bucket& bucket, cls_user_bucket_entry& entry);