From 06e071454e04456b6799937b92cda465cd2dface Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Wed, 7 Jan 2015 14:03:58 +0900 Subject: [PATCH] btl/openib: cleanup duplicate code --- opal/mca/btl/openib/btl_openib_ini.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/opal/mca/btl/openib/btl_openib_ini.c b/opal/mca/btl/openib/btl_openib_ini.c index 82d3706000..43b84bddc0 100644 --- a/opal/mca/btl/openib/btl_openib_ini.c +++ b/opal/mca/btl/openib/btl_openib_ini.c @@ -14,7 +14,7 @@ * Copyright (c) 2012-2013 Los Alamos National Security, LLC. All rights * reserved. * Copyright (c) 2014 Intel, Inc. All rights reserved - * Copyright (c) 2014 Research Organization for Information Science + * Copyright (c) 2014-2015 Research Organization for Information Science * and Technology (RIST). All rights reserved. * $COPYRIGHT$ * @@ -421,12 +421,6 @@ static int parse_line(parsed_section_values_t *sv) sv->values.ignore_device_set = true; } - else if (0 == strcasecmp(key_buffer, "ignore_device")) { - /* Single value */ - sv->values.ignore_device = (bool) opal_btl_openib_ini_intify(value); - sv->values.ignore_device_set = true; - } - else { /* Have no idea what this parameter is. Not an error -- just ignore it */ @@ -590,11 +584,6 @@ static int save_section(parsed_section_values_t *s) h->values.ignore_device_set = true; } - if (s->values.ignore_device_set) { - h->values.ignore_device = s->values.ignore_device; - h->values.ignore_device_set = true; - } - found = true; break; }