1
1

mca_mpool_base_mem_cb_array is no longer used anywhere in the code

base.  Remove it.

This commit was SVN r20982.
Этот коммит содержится в:
Jeff Squyres 2009-04-13 23:41:45 +00:00
родитель 9f7c605166
Коммит 8de80e9297
3 изменённых файлов: 2 добавлений и 7 удалений

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

@ -10,7 +10,7 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2008 Cisco Systems, Inc. All rights reserved.
* Copyright (c) 2008-2009 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -30,7 +30,6 @@
#include "ompi/mca/mpool/base/base.h"
#include "mpool_base_mem_cb.h"
extern opal_pointer_array_t mca_mpool_base_mem_cb_array;
int mca_mpool_base_close(void)
{
@ -71,7 +70,6 @@ int mca_mpool_base_close(void)
if( (modules_length > 0) && mca_mpool_base_used_mem_hooks &&
0 != (OPAL_MEMORY_FREE_SUPPORT & opal_mem_hooks_support_level())) {
opal_mem_hooks_unregister_release(mca_mpool_base_mem_cb);
OBJ_DESTRUCT(&mca_mpool_base_mem_cb_array);
}
/* All done */

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

@ -41,8 +41,6 @@
#include "mpool_base_mem_cb.h"
extern opal_pointer_array_t mca_mpool_base_mem_cb_array;
mca_mpool_base_component_t* mca_mpool_base_component_lookup(const char* name)
{
/* Traverse the list of available modules; call their init functions. */
@ -117,7 +115,6 @@ mca_mpool_base_module_t* mca_mpool_base_module_create(
((OPAL_MEMORY_FREE_SUPPORT | OPAL_MEMORY_MUNMAP_SUPPORT) &
opal_mem_hooks_support_level())) {
opal_mem_hooks_register_release(mca_mpool_base_mem_cb, NULL);
OBJ_CONSTRUCT(&mca_mpool_base_mem_cb_array, opal_pointer_array_t);
} else {
orte_show_help("help-mpool-base.txt", "leave pinned failed",
true, name, ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),

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

@ -10,6 +10,7 @@
* University of Stuttgart. All rights reserved.
* Copyright (c) 2004-2005 The Regents of the University of California.
* All rights reserved.
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
@ -26,7 +27,6 @@
#include "base.h"
#include "orte/types.h"
opal_pointer_array_t mca_mpool_base_mem_cb_array;
/*
* memory hook callback, called when memory is free'd out from under us