Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: stop adding P_SYMBOL property to symbols

I believe its last usage was in the following code:

if (prop == NULL)
prop = stack->sym->prop;

This code was previously used to print the file name and line number of
associated symbols in sym_check_print_recursive(), which was removed by
commit 9d0d26604657 ("kconfig: recursive checks drop file/lineno").

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+1 -3
+1 -3
scripts/kconfig/menu.c
··· 78 78 *last_entry_ptr = menu; 79 79 last_entry_ptr = &menu->next; 80 80 current_entry = menu; 81 - if (sym) { 82 - menu_add_symbol(P_SYMBOL, sym, NULL); 81 + if (sym) 83 82 list_add_tail(&menu->link, &sym->menus); 84 - } 85 83 } 86 84 87 85 struct menu *menu_add_menu(void)