]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common/plugin: remove stale commented code
authorChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 15 Oct 2020 06:52:38 +0000 (14:52 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Thu, 15 Oct 2020 06:52:38 +0000 (14:52 +0800)
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
src/common/PluginRegistry.cc

index 1e01528de20229defafe2ccd297f3ac239ff86a8..4b8d6156adfe4d6908321cb516f5ad2d705cd024 100644 (file)
@@ -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<std::string>("plugin_dir") + "/" + type + "/" + PLUGIN_PREFIX
       + name + PLUGIN_SUFFIX;
   void *library = dlopen(fname.c_str(), RTLD_NOW);