1
1

opal: remove some unused variables / compiler warnings

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
Jeff Squyres 2016-03-25 14:58:39 -07:00
родитель 099170bb31
Коммит 017f242b1b
2 изменённых файлов: 2 добавлений и 3 удалений

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

@ -13,6 +13,7 @@
* Copyright (c) 2007 Voltaire All rights reserved.
* Copyright (c) 2016 Los Alamos National Security, LLC. All rights
* reserved.
* Copyright (c) 2016 Cisco Systems, Inc. All rights reserved.
* $COPYRIGHT$
*
* 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)
{
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
* they will be released in the destructor for adj_list */

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

@ -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) 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 Los Alamos National Security, LLC. All rights
* 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
* altered it via MPI_T */
int index;
mca_base_var_source_t source;
if (OPAL_SUCCESS != (ret = get_var_source ("receive_queues", &source))) {