Remove the local variable that shadow the real one.
This commit was SVN r8763.
Этот коммит содержится в:
родитель
29c80875a8
Коммит
8d26696c06
@ -301,8 +301,6 @@ static inline void mca_bml_base_prepare_dst(mca_bml_base_btl_t* bml_btl,
|
||||
#if OMPI_HAVE_THREAD_SUPPORT
|
||||
#define MCA_BML_BASE_BTL_DES_ALLOC(bml_btl, des, alloc_size, seg_size) \
|
||||
do { \
|
||||
mca_btl_base_descriptor_t* des; \
|
||||
\
|
||||
if( NULL != (des = bml_btl->btl_cache) ) { \
|
||||
/* atomically acquire the cached descriptor */ \
|
||||
if(opal_atomic_cmpset_ptr(&bml_btl->btl_cache, \
|
||||
@ -318,8 +316,6 @@ static inline void mca_bml_base_prepare_dst(mca_bml_base_btl_t* bml_btl,
|
||||
#else
|
||||
#define MCA_BML_BASE_BTL_DES_ALLOC(bml_btl, des, alloc_size, seg_size) \
|
||||
do { \
|
||||
mca_btl_base_descriptor_t* des; \
|
||||
\
|
||||
if( NULL != (des = bml_btl->btl_cache) ) { \
|
||||
bml_btl->btl_cache = NULL; \
|
||||
} else { \
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user