History

kconfig: remove redundant input_mode test for check_conf() loop

check_conf() never increments conf_cnt for listnewconfig, so conf_cnt is always zero. In other words, conf_cnt is not zero, "input_mode != listnewconfig" is met.

Masahiro Yamada committed 8 years ago

Commit 99f0b651 parent 4bb3a5b1 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/kconfig/conf.c+1−1
@@ -669,7 +669,7 @@ int main(int ac, char **av) · 668 unmodified lines
669 do {669 do {
670 conf_cnt = 0;670 conf_cnt = 0;
671 check_conf(&rootmenu);671 check_conf(&rootmenu);
672 } while (conf_cnt && input_mode != listnewconfig);672 } while (conf_cnt);
673 break;673 break;
674 case olddefconfig:674 case olddefconfig:
675 default:675 default:

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t