Cleanup trailing/heading whitespaces in COMPRESS/CRS MCA
This commit was SVN r30131.
Этот коммит содержится в:
родитель
015799c724
Коммит
d7ab0231e8
@ -33,12 +33,13 @@ opal_compress_base_module_t opal_compress = {
|
||||
|
||||
opal_compress_base_component_t opal_compress_base_selected_component;
|
||||
|
||||
static int opal_compress_base_register (mca_base_register_flag_t flags);
|
||||
static int opal_compress_base_register(mca_base_register_flag_t flags);
|
||||
|
||||
MCA_BASE_FRAMEWORK_DECLARE(opal, compress, NULL, opal_compress_base_register, opal_compress_base_open,
|
||||
MCA_BASE_FRAMEWORK_DECLARE(opal, compress, "COMPRESS MCA",
|
||||
opal_compress_base_register, opal_compress_base_open,
|
||||
opal_compress_base_close, mca_compress_base_static_components, 0);
|
||||
|
||||
static int opal_compress_base_register (mca_base_register_flag_t flags)
|
||||
static int opal_compress_base_register(mca_base_register_flag_t flags)
|
||||
{
|
||||
return OPAL_SUCCESS;
|
||||
}
|
||||
@ -50,12 +51,12 @@ static int opal_compress_base_register (mca_base_register_flag_t flags)
|
||||
int opal_compress_base_open(mca_base_open_flag_t flags)
|
||||
{
|
||||
/* Compression currently only used with C/R */
|
||||
if( !opal_cr_is_enabled ) {
|
||||
if(!opal_cr_is_enabled) {
|
||||
opal_output_verbose(10, opal_compress_base_framework.framework_output,
|
||||
"compress:open: FT is not enabled, skipping!");
|
||||
return OPAL_SUCCESS;
|
||||
}
|
||||
|
||||
/* Open up all available components */
|
||||
return mca_base_framework_components_open (&opal_compress_base_framework, flags);
|
||||
return mca_base_framework_components_open(&opal_compress_base_framework, flags);
|
||||
}
|
||||
|
@ -43,14 +43,14 @@ opal_crs_base_module_t opal_crs = {
|
||||
opal_crs_base_component_t opal_crs_base_selected_component;
|
||||
|
||||
extern bool opal_crs_base_do_not_select;
|
||||
static int opal_crs_base_register (mca_base_register_flag_t flags);
|
||||
static int opal_crs_base_register(mca_base_register_flag_t flags);
|
||||
|
||||
/* Use default select */
|
||||
MCA_BASE_FRAMEWORK_DECLARE(opal, crs, "Checkpoint and Restart Service (CRS)",
|
||||
opal_crs_base_register, opal_crs_base_open,
|
||||
opal_crs_base_close, mca_crs_base_static_components, 0);
|
||||
|
||||
static int opal_crs_base_register (mca_base_register_flag_t flags)
|
||||
static int opal_crs_base_register(mca_base_register_flag_t flags)
|
||||
{
|
||||
int ret;
|
||||
/*
|
||||
@ -64,7 +64,7 @@ static int opal_crs_base_register (mca_base_register_flag_t flags)
|
||||
* know which one until later. It will set the MCA parameter 'crs'
|
||||
* before calling select.
|
||||
*/
|
||||
ret = mca_base_framework_var_register (&opal_crs_base_framework, "do_not_select",
|
||||
ret = mca_base_framework_var_register(&opal_crs_base_framework, "do_not_select",
|
||||
"Do not do the selection of the CRS component",
|
||||
MCA_BASE_VAR_TYPE_BOOL, NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE |
|
||||
MCA_BASE_VAR_FLAG_INTERNAL, OPAL_INFO_LVL_9,
|
||||
@ -79,11 +79,11 @@ static int opal_crs_base_register (mca_base_register_flag_t flags)
|
||||
*/
|
||||
int opal_crs_base_open(mca_base_open_flag_t flags)
|
||||
{
|
||||
if( !opal_cr_is_enabled ) {
|
||||
if(!opal_cr_is_enabled) {
|
||||
opal_output_verbose(10, opal_crs_base_framework.framework_output,
|
||||
"crs:open: FT is not enabled, skipping!");
|
||||
return OPAL_SUCCESS;
|
||||
}
|
||||
|
||||
return mca_base_framework_components_open (&opal_crs_base_framework, flags);
|
||||
return mca_base_framework_components_open(&opal_crs_base_framework, flags);
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user