1
1

Cleanup trailing/heading whitespaces in COMPRESS/CRS MCA

This commit was SVN r30131.
Этот коммит содержится в:
Adrian Reber 2014-01-07 14:34:45 +00:00
родитель 015799c724
Коммит d7ab0231e8
2 изменённых файлов: 24 добавлений и 23 удалений

Просмотреть файл

@ -33,12 +33,13 @@ opal_compress_base_module_t opal_compress = {
opal_compress_base_component_t opal_compress_base_selected_component; 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); 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; 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) int opal_compress_base_open(mca_base_open_flag_t flags)
{ {
/* Compression currently only used with C/R */ /* 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, opal_output_verbose(10, opal_compress_base_framework.framework_output,
"compress:open: FT is not enabled, skipping!"); "compress:open: FT is not enabled, skipping!");
return OPAL_SUCCESS; return OPAL_SUCCESS;
} }
/* Open up all available components */ /* 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; opal_crs_base_component_t opal_crs_base_selected_component;
extern bool opal_crs_base_do_not_select; 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 */ /* Use default select */
MCA_BASE_FRAMEWORK_DECLARE(opal, crs, "Checkpoint and Restart Service (CRS)", MCA_BASE_FRAMEWORK_DECLARE(opal, crs, "Checkpoint and Restart Service (CRS)",
opal_crs_base_register, opal_crs_base_open, opal_crs_base_register, opal_crs_base_open,
opal_crs_base_close, mca_crs_base_static_components, 0); 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; int ret;
/* /*
@ -64,11 +64,11 @@ static int opal_crs_base_register (mca_base_register_flag_t flags)
* know which one until later. It will set the MCA parameter 'crs' * know which one until later. It will set the MCA parameter 'crs'
* before calling select. * 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", "Do not do the selection of the CRS component",
MCA_BASE_VAR_TYPE_BOOL, NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE | MCA_BASE_VAR_TYPE_BOOL, NULL, 0, MCA_BASE_VAR_FLAG_SETTABLE |
MCA_BASE_VAR_FLAG_INTERNAL, OPAL_INFO_LVL_9, MCA_BASE_VAR_FLAG_INTERNAL, OPAL_INFO_LVL_9,
MCA_BASE_VAR_SCOPE_ALL_EQ, &opal_crs_base_do_not_select); MCA_BASE_VAR_SCOPE_ALL_EQ, &opal_crs_base_do_not_select);
return (0 > ret) ? ret : OPAL_SUCCESS; return (0 > ret) ? ret : OPAL_SUCCESS;
} }
@ -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) 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, opal_output_verbose(10, opal_crs_base_framework.framework_output,
"crs:open: FT is not enabled, skipping!"); "crs:open: FT is not enabled, skipping!");
return OPAL_SUCCESS; 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);
} }