From: Zhang Shaowen Date: Mon, 21 May 2018 09:08:51 +0000 (+0800) Subject: rgw: remove is_cors_op in RGWHandler_REST_Obj_S3 which is not used. X-Git-Tag: v14.0.0~52^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cc10d11091535ec2ef2fd02fbdb128c7d90f2982;p=ceph.git rgw: remove is_cors_op in RGWHandler_REST_Obj_S3 which is not used. Signed-off-by: Zhang Shaowen --- diff --git a/src/rgw/rgw_rest_s3.h b/src/rgw/rgw_rest_s3.h index dea5bf87ce58..32cf79d0c871 100644 --- a/src/rgw/rgw_rest_s3.h +++ b/src/rgw/rgw_rest_s3.h @@ -569,9 +569,6 @@ protected: bool is_acl_op() { return s->info.args.exists("acl"); } - bool is_cors_op() { - return s->info.args.exists("cors"); - } bool is_tagging_op() { return s->info.args.exists("tagging"); }