George Bosilca avatar George Bosilca committed 11525e8

Stop complaining about an overwritten default parameter.

Comments (0)

Files changed (1)

ompi/mca/btl/sm/btl_sm_component.c

     MCA_BTL_SM_RNDV_MOD_MPOOL
 } mca_btl_sm_rndv_module_type_t;
 
-static bool btl_sm_have_knem = OMPI_BTL_SM_HAVE_KNEM;
-
 /*
  * Shared Memory (SM) component instance.
  */
 {
     mca_base_var_flag_t var_flags;
 
-    /* Register an MCA param to indicate whether we have knem support
-       or not */
-    (void) mca_base_component_var_register(&mca_btl_sm_component.super.btl_version,
-                                           "have_knem_support", "Whether this component supports the knem Linux kernel module or not",
-                                           MCA_BASE_VAR_TYPE_BOOL, NULL, 0,
-                                           MCA_BASE_VAR_FLAG_DEFAULT_ONLY,
-                                           OPAL_INFO_LVL_5,
-                                           MCA_BASE_VAR_SCOPE_CONSTANT,
-                                           &btl_sm_have_knem);
     if (OMPI_BTL_SM_HAVE_KNEM) {
         var_flags = 0;
         mca_btl_sm_component.use_knem = -1;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.