From cc10d11091535ec2ef2fd02fbdb128c7d90f2982 Mon Sep 17 00:00:00 2001 From: Zhang Shaowen Date: Mon, 21 May 2018 17:08:51 +0800 Subject: [PATCH] rgw: remove is_cors_op in RGWHandler_REST_Obj_S3 which is not used. Signed-off-by: Zhang Shaowen --- src/rgw/rgw_rest_s3.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/rgw/rgw_rest_s3.h b/src/rgw/rgw_rest_s3.h index dea5bf87ce584..32cf79d0c871b 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"); } -- 2.47.3