From cb2ad98f57b5ee4e98e5d8a68d1b44d63ebffc1a Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Wed, 10 Sep 2014 17:36:34 +0000 Subject: [PATCH] Silence an unused function warning This commit was SVN r32704. --- opal/mca/btl/openib/btl_openib_ini.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/opal/mca/btl/openib/btl_openib_ini.c b/opal/mca/btl/openib/btl_openib_ini.c index 8a50d953cb..a6dc644cfc 100644 --- a/opal/mca/btl/openib/btl_openib_ini.c +++ b/opal/mca/btl/openib/btl_openib_ini.c @@ -98,7 +98,6 @@ static int parse_line(parsed_section_values_t *item); static void reset_section(bool had_previous_value, parsed_section_values_t *s); static void reset_values(opal_btl_openib_ini_values_t *v); static int save_section(parsed_section_values_t *s); -static inline void show_help(const char *topic); /* @@ -693,18 +692,3 @@ int opal_btl_openib_ini_intify_list(char *value, uint32_t **values, int *len) return OPAL_SUCCESS; } - -/* - * Trival helper function -don't use this, it confuses check-help-strings.pl tool - */ -static inline void show_help(const char *topic) -{ - char *save = btl_openib_ini_yytext; - if (0 == strcmp("\n", btl_openib_ini_yytext)) { - btl_openib_ini_yytext = ""; - } - opal_show_help("help-mpi-btl-openib.txt", topic, true, - ini_filename, btl_openib_ini_yynewlines, - btl_openib_ini_yytext); - btl_openib_ini_yytext = save; -}