opal: remove some unused variables / compiler warnings
Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
родитель
099170bb31
Коммит
017f242b1b
@ -13,6 +13,7 @@
|
|||||||
* Copyright (c) 2007 Voltaire All rights reserved.
|
* Copyright (c) 2007 Voltaire All rights reserved.
|
||||||
* Copyright (c) 2016 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2016 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
|
* Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
|
||||||
* $COPYRIGHT$
|
* $COPYRIGHT$
|
||||||
*
|
*
|
||||||
* Additional copyrights may follow
|
* Additional copyrights may follow
|
||||||
@ -337,7 +338,6 @@ void opal_graph_remove_edge (opal_graph_t *graph, opal_graph_edge_t *edge)
|
|||||||
void opal_graph_remove_vertex(opal_graph_t *graph, opal_graph_vertex_t *vertex)
|
void opal_graph_remove_vertex(opal_graph_t *graph, opal_graph_vertex_t *vertex)
|
||||||
{
|
{
|
||||||
opal_adjacency_list_t *adj_list;
|
opal_adjacency_list_t *adj_list;
|
||||||
opal_graph_edge_t *edge;
|
|
||||||
|
|
||||||
/* do not need to remove all the edges of this vertex and destruct them as
|
/* do not need to remove all the edges of this vertex and destruct them as
|
||||||
* they will be released in the destructor for adj_list */
|
* they will be released in the destructor for adj_list */
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* University of Stuttgart. All rights reserved.
|
* University of Stuttgart. All rights reserved.
|
||||||
* Copyright (c) 2004-2005 The Regents of the University of California.
|
* Copyright (c) 2004-2005 The Regents of the University of California.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
* Copyright (c) 2006-2015 Cisco Systems, Inc. All rights reserved.
|
* Copyright (c) 2006-2016 Cisco Systems, Inc. All rights reserved.
|
||||||
* Copyright (c) 2006-2015 Mellanox Technologies. All rights reserved.
|
* Copyright (c) 2006-2015 Mellanox Technologies. All rights reserved.
|
||||||
* Copyright (c) 2006-2015 Los Alamos National Security, LLC. All rights
|
* Copyright (c) 2006-2015 Los Alamos National Security, LLC. All rights
|
||||||
* reserved.
|
* reserved.
|
||||||
@ -2131,7 +2131,6 @@ static int init_one_device(opal_list_t *btl_list, struct ibv_device* ib_dev)
|
|||||||
{
|
{
|
||||||
/* we need to read this MCA param at this point in case someone
|
/* we need to read this MCA param at this point in case someone
|
||||||
* altered it via MPI_T */
|
* altered it via MPI_T */
|
||||||
int index;
|
|
||||||
mca_base_var_source_t source;
|
mca_base_var_source_t source;
|
||||||
|
|
||||||
if (OPAL_SUCCESS != (ret = get_var_source ("receive_queues", &source))) {
|
if (OPAL_SUCCESS != (ret = get_var_source ("receive_queues", &source))) {
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user