diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-02-21 12:26:22 +0300 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-02-24 09:12:06 +0300 |
commit | a4cff327d8533bde5bac147aaa8b09e8d835cab2 (patch) | |
tree | 9889be35939b00f0b9063ae5c88148323911a9b1 /net/lapb/lapb_timer.c | |
parent | f82bd80d37ecc6ebda389473bd8414e89bbdbe05 (diff) | |
download | linux-a4cff327d8533bde5bac147aaa8b09e8d835cab2.tar.xz |
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 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions