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