From efd2372a7f94f943033e87ecf4df084c0351c289 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Fri, 29 Jul 2005 14:44:06 +0000 Subject: [PATCH] Remove unused field This commit was SVN r6685. --- opal/util/sys_info.c | 6 ------ opal/util/sys_info.h | 4 ---- 2 files changed, 10 deletions(-) diff --git a/opal/util/sys_info.c b/opal/util/sys_info.c index 691850d675..1b5ca63f94 100644 --- a/opal/util/sys_info.c +++ b/opal/util/sys_info.c @@ -47,7 +47,6 @@ orte_sys_info_t orte_system_info = { /* .machine = */ NULL, /* .path_sep = */ NULL, /* .user = */ NULL, - /* .enviro = */ NULL, /* .suffix = */ NULL}; int orte_sys_info(void) @@ -172,11 +171,6 @@ int orte_sys_info_finalize(void) orte_system_info.user = NULL; } - if (NULL != orte_system_info.enviro) { - free(orte_system_info.enviro); - orte_system_info.enviro = NULL; - } - if (NULL != orte_system_info.suffix) { free(orte_system_info.suffix); orte_system_info.suffix = NULL; diff --git a/opal/util/sys_info.h b/opal/util/sys_info.h index eff0d77589..2732264c36 100644 --- a/opal/util/sys_info.h +++ b/opal/util/sys_info.h @@ -61,10 +61,6 @@ struct orte_sys_info_t { * upon the operating system */ char *user; /**< User id on this system. */ - char *enviro; /**< Computing environment employed on this system. - * Indicates the local computing environment for managing - * and scheduling resources - e.g., SLURM, PBS, LSF, or BProc - */ char *suffix; /**< Automatic suffix added to file names. * Some computing environments automatically "tag" files * created by applications with a computer-generated suffix