]> git.baikalelectronics.ru Git - kernel.git/commitdiff
kconfig: qconf: remove redundant help in the info view
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 20 Aug 2020 17:43:27 +0000 (02:43 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 21 Aug 2020 01:23:37 +0000 (10:23 +0900)
The same information is repeated in the info view.

Remove the second one.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc

index 3a8f6251a727db5856cbcc57253e8758e57e4da6..4c5688a845f85f4db0090e44135d227ee7e93fc7 100644 (file)
@@ -1106,11 +1106,6 @@ void ConfigInfoView::menuInfo(void)
 
                if (showDebug())
                        debug = debug_info(sym);
-
-               struct gstr help_gstr = str_new();
-               menu_get_ext_help(_menu, &help_gstr);
-               help = print_filter(str_get(&help_gstr));
-               str_free(&help_gstr);
        } else if (_menu->prompt) {
                head += "<big><b>";
                head += print_filter(_menu->prompt->text);
@@ -1126,7 +1121,7 @@ void ConfigInfoView::menuInfo(void)
        if (showDebug())
                debug += QString().sprintf("defined at %s:%d<br><br>", _menu->file->name, _menu->lineno);
 
-       setText(head + debug + help);
+       setText(head + debug);
 }
 
 QString ConfigInfoView::debug_info(struct symbol *sym)