diff options
Diffstat (limited to 'scripts/kconfig/nconf.c')
-rw-r--r-- | scripts/kconfig/nconf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c index d6345df1ce12..39ca1f1640ea 100644 --- a/scripts/kconfig/nconf.c +++ b/scripts/kconfig/nconf.c | |||
@@ -1153,10 +1153,7 @@ static void conf(struct menu *menu) | |||
1153 | submenu = (struct menu *) item_data(); | 1153 | submenu = (struct menu *) item_data(); |
1154 | if (!submenu || !menu_is_visible(submenu)) | 1154 | if (!submenu || !menu_is_visible(submenu)) |
1155 | continue; | 1155 | continue; |
1156 | if (submenu) | 1156 | sym = submenu->sym; |
1157 | sym = submenu->sym; | ||
1158 | else | ||
1159 | sym = NULL; | ||
1160 | 1157 | ||
1161 | switch (res) { | 1158 | switch (res) { |
1162 | case ' ': | 1159 | case ' ': |