Skip to content
Snippets Groups Projects
Commit a4cff327 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent f82bd80d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment