Remove 2 useless functions. They have been replaced by the mca_base version few commits ago.
This commit was SVN r8287.
Этот коммит содержится в:
родитель
63a7ea98e2
Коммит
9d990af4a5
@ -68,28 +68,6 @@ mca_btl_mx_component_t mca_btl_mx_component = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
|
||||||
* utility routines for parameter registration
|
|
||||||
*/
|
|
||||||
|
|
||||||
static inline char* mca_btl_mx_param_register_string( const char* param_name,
|
|
||||||
const char* default_value )
|
|
||||||
{
|
|
||||||
char *param_value;
|
|
||||||
int id = mca_base_param_register_string("btl","mx",param_name,NULL,default_value);
|
|
||||||
mca_base_param_lookup_string(id, ¶m_value);
|
|
||||||
return param_value;
|
|
||||||
}
|
|
||||||
|
|
||||||
static inline int mca_btl_mx_param_register_int( const char* param_name,
|
|
||||||
int default_value )
|
|
||||||
{
|
|
||||||
int id = mca_base_param_register_int("btl","mx",param_name,NULL,default_value);
|
|
||||||
int param_value = default_value;
|
|
||||||
mca_base_param_lookup_int(id,¶m_value);
|
|
||||||
return param_value;
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Called by MCA framework to open the component, registers
|
* Called by MCA framework to open the component, registers
|
||||||
* component parameters.
|
* component parameters.
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user