Merge pull request #17129 from C2python/clear_para

rgw: Remove unused Parameter in Function RGWConf::init()

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2017-09-03 08:23:59 +03:00 committed by GitHub
commit 1970d8fbc0
2 changed files with 3 additions and 3 deletions

View File

@ -385,7 +385,7 @@ class RGWEnv;
class RGWConf {
friend class RGWEnv;
protected:
void init(CephContext *cct, RGWEnv* env);
void init(CephContext *cct);
public:
RGWConf()
: enable_ops_log(1),

View File

@ -14,7 +14,7 @@
void RGWEnv::init(CephContext *cct)
{
conf.init(cct, this);
conf.init(cct);
}
void RGWEnv::set(const boost::string_ref& name, const boost::string_ref& val)
@ -127,7 +127,7 @@ void RGWEnv::remove(const char *name)
env_map.erase(iter);
}
void RGWConf::init(CephContext *cct, RGWEnv *env)
void RGWConf::init(CephContext *cct)
{
enable_ops_log = cct->_conf->rgw_enable_ops_log;
enable_usage_log = cct->_conf->rgw_enable_usage_log;