From 9c2f055a732696e4527100119d71bb75dd36c46a Mon Sep 17 00:00:00 2001 From: Changcheng Liu Date: Thu, 15 Oct 2020 14:52:38 +0800 Subject: [PATCH] common/plugin: remove stale commented code Signed-off-by: Changcheng Liu --- src/common/PluginRegistry.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/common/PluginRegistry.cc b/src/common/PluginRegistry.cc index 1e01528de2022..4b8d6156adfe4 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); -- 2.39.5