From: Changcheng Liu Date: Thu, 15 Oct 2020 06:52:38 +0000 (+0800) Subject: common/plugin: remove stale commented code X-Git-Tag: v16.1.0~824^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=9c2f055a732696e4527100119d71bb75dd36c46a;p=ceph.git common/plugin: remove stale commented code Signed-off-by: Changcheng Liu --- diff --git a/src/common/PluginRegistry.cc b/src/common/PluginRegistry.cc index 1e01528de202..4b8d6156adfe 100644 --- a/src/common/PluginRegistry.cc +++ b/src/common/PluginRegistry.cc @@ -138,8 +138,6 @@ int PluginRegistry::load(const std::string &type, ceph_assert(ceph_mutex_is_locked(lock)); ldout(cct, 1) << __func__ << " " << type << " " << name << dendl; - // std::string fname = cct->_conf->plugin_dir + "/" + type + "/" PLUGIN_PREFIX - // + name + PLUGIN_SUFFIX; std::string fname = cct->_conf.get_val("plugin_dir") + "/" + type + "/" + PLUGIN_PREFIX + name + PLUGIN_SUFFIX; void *library = dlopen(fname.c_str(), RTLD_NOW);