Skip to content

Commit

Permalink
kconfig: qconf: remove redundant help in the info view
Browse files Browse the repository at this point in the history
The same information is repeated in the info view.

Remove the second one.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
Masahiro Yamada committed Aug 21, 2020
1 parent 53efe2e commit 68fd110
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions scripts/kconfig/qconf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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)
Expand Down

0 comments on commit 68fd110

Please sign in to comment.