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: remove unneeded variable in get_prompt_str()

The variable 'accessible' is redundant.

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

+1 -3
+1 -3
scripts/kconfig/menu.c
··· 724 724 725 725 menu = prop->menu; 726 726 for (i = 0; menu != &rootmenu && i < 8; menu = menu->parent) { 727 - bool accessible = menu_is_visible(menu); 728 - 729 727 submenu[i++] = menu; 730 - if (location == NULL && accessible) 728 + if (location == NULL && menu_is_visible(menu)) 731 729 location = menu; 732 730 } 733 731 if (head && location) {