From: Radoslaw Zarzynski Date: Mon, 7 Aug 2017 16:14:55 +0000 (-0400) Subject: rgw: drop the init_anon_user() as it isn't necessary anymore. X-Git-Tag: v13.0.0~180^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=10772d4d426f654426cb29bb3bc4a38977488274;p=ceph.git rgw: drop the init_anon_user() as it isn't necessary anymore. Signed-off-by: Radoslaw Zarzynski --- diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 0128b8b852b0..a3f98c244845 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -3320,12 +3320,6 @@ discover_aws_flavour(const req_info& info) return std::make_pair(version, route); } -static void init_anon_user(struct req_state *s) -{ - rgw_get_anon_user(*(s->user)); - s->perm_mask = RGW_PERM_FULL_CONTROL; -} - /* * verify that a signed request comes from the keyholder * by checking the signature against our locally-computed version