Commit 5e6cc7e3 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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 9d0d2660 ("kconfig: recursive checks drop file/lineno").

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent dc73a57a
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -78,11 +78,9 @@ void menu_add_entry(struct symbol *sym)
	*last_entry_ptr = menu;
	last_entry_ptr = &menu->next;
	current_entry = menu;
	if (sym) {
		menu_add_symbol(P_SYMBOL, sym, NULL);
	if (sym)
		list_add_tail(&menu->link, &sym->menus);
}
}

struct menu *menu_add_menu(void)
{