From 5027915ead71e5987b6cf5b1b20cce22441cf49c Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Wed, 21 Jul 2010 11:07:28 +0000 Subject: [PATCH] Hostname is not used in this function. This commit was SVN r23454. --- orte/util/context_fns.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/orte/util/context_fns.c b/orte/util/context_fns.c index a54818e0ff..11a960c088 100644 --- a/orte/util/context_fns.c +++ b/orte/util/context_fns.c @@ -10,7 +10,7 @@ * Copyright (c) 2004-2005 The Regents of the University of California. * All rights reserved. * Copyright (c) 2008 Sun Microsystems, Inc. All rights reserved. - * Copyright (c) 2008 Cisco Systems, Inc. All rights reserved. + * Copyright (c) 2008-2010 Cisco Systems, Inc. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -55,10 +55,6 @@ int orte_util_check_context_cwd(orte_app_context_t *context, { bool good = true; const char *tmp; - char hostname[MAXHOSTNAMELEN]; - - /* Use hostname in a few messages below */ - gethostname(hostname, sizeof(hostname)); /* If we want to chdir and the chdir fails (for any reason -- such as if the dir doesn't exist, it isn't a dir, we don't have