diff options
| author | 2021-02-21 18:26:22 +0900 | |
|---|---|---|
| committer | 2021-02-24 15:12:06 +0900 | |
| commit | a4cff327d8533bde5bac147aaa8b09e8d835cab2 (patch) | |
| tree | 9889be35939b00f0b9063ae5c88148323911a9b1 /samples/git:/ssh:/git@git.zx2c4.com | |
| parent | kconfig: Remove duplicate call to sym_get_string_value() (diff) | |
| download | linux-dev-a4cff327d8533bde5bac147aaa8b09e8d835cab2.tar.xz linux-dev-a4cff327d8533bde5bac147aaa8b09e8d835cab2.zip | |
kconfig: clean up nested if-conditionals in check_conf()
Unify the outer two if-conditionals into one. This decreases the
indent level by one.
Also, change the if-else blocks:
if (input_mode == listnewconfig) {
...
} else if (input_mode == helpnewconfig) {
...
} else {
...
}
into the switch statement.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'samples/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
