From 754ca0f865c2484ff6bf14d9db1c321c0a677273 Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Fri, 18 May 2018 10:21:05 +0200 Subject: menuconfig: Remove redundant information for menus and comments The Kconfig definition already lists the location and menu path, and now shows up at the top. --- menuconfig.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/menuconfig.py b/menuconfig.py index 5e01a44..fd9a136 100755 --- a/menuconfig.py +++ b/menuconfig.py @@ -1848,9 +1848,7 @@ def _info_str(node): ) # node.item in (MENU, COMMENT) - return "Defined at {}:{}\nMenu: {}\n\n{}" \ - .format(node.filename, node.linenr, _menu_path_info(node), - _kconfig_def_info(node)) + return _kconfig_def_info(node) def _prompt_info(sc): # Returns a string listing the prompts of 'sc' (Symbol or Choice) -- cgit v1.2.3