Skip to content

Commit e2160d1

Browse files
author
Ralph Castain
authored
Merge pull request #3741 from rhc54/topic/info
Remove stale field
2 parents 0c258c3 + 3af9344 commit e2160d1

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

orte/util/proc_info.c

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* Copyright (c) 2009-2016 Cisco Systems, Inc. All rights reserved.
1313
* Copyright (c) 2012 Los Alamos National Security, LLC.
1414
* All rights reserved.
15-
* Copyright (c) 2014-2016 Intel, Inc. All rights reserved
15+
* Copyright (c) 2014-2017 Intel, Inc. All rights reserved.
1616
* Copyright (c) 2016 IBM Corporation. All rights reserved.
1717
* $COPYRIGHT$
1818
*
@@ -69,7 +69,6 @@ ORTE_DECLSPEC orte_proc_info_t orte_process_info = {
6969
.aliases = NULL,
7070
.pid = 0,
7171
.proc_type = ORTE_PROC_TYPE_NONE,
72-
.sync_buf = NULL,
7372
.my_port = 0,
7473
.num_restarts = 0,
7574
.my_node_rank = ORTE_NODE_RANK_INVALID,
@@ -265,9 +264,6 @@ int orte_proc_info(void)
265264
&orte_ess_node_rank);
266265
orte_process_info.my_node_rank = (orte_node_rank_t) orte_ess_node_rank;
267266

268-
/* setup the sync buffer */
269-
orte_process_info.sync_buf = OBJ_NEW(opal_buffer_t);
270-
271267
return ORTE_SUCCESS;
272268
}
273269

@@ -330,9 +326,6 @@ int orte_proc_info_finalize(void)
330326

331327
orte_process_info.proc_type = ORTE_PROC_TYPE_NONE;
332328

333-
OBJ_RELEASE(orte_process_info.sync_buf);
334-
orte_process_info.sync_buf = NULL;
335-
336329
OBJ_DESTRUCT(&orte_process_info.super);
337330

338331
opal_argv_free(orte_process_info.aliases);

orte/util/proc_info.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* All rights reserved.
1212
* Copyright (c) 2011-2012 Los Alamos National Security, LLC.
1313
* All rights reserved.
14-
* Copyright (c) 2013-2016 Intel, Inc. All rights reserved
14+
* Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
1515
* Copyright (c) 2017 Cisco Systems, Inc. All rights reserved
1616
* $COPYRIGHT$
1717
*
@@ -99,7 +99,6 @@ struct orte_proc_info_t {
9999
char **aliases; /**< aliases for this node */
100100
pid_t pid; /**< Local process ID for this process */
101101
orte_proc_type_t proc_type; /**< Type of process */
102-
opal_buffer_t *sync_buf; /**< buffer to store sync response */
103102
uint16_t my_port; /**< TCP port for out-of-band comm */
104103
int num_restarts; /**< number of times this proc has restarted */
105104
orte_node_rank_t my_node_rank; /**< node rank */

0 commit comments

Comments
 (0)