Files
android_kernel_xiaomi_sm8450/scripts/kconfig
Masahiro Yamada e3cd5136a4 kconfig: remove meaningless if-conditional in conf_read()
sym_is_choice(sym) has already been checked by previous if-block:

    if (sym_is_choice(sym) || (sym->flags & SYMBOL_NO_WRITE))
            continue;

Hence, the following code is redundant, and the comment is misleading:

    if (!sym_is_choice(sym))
            continue;
    /* fall through */

It always takes 'continue', never falls though.

Clean up the dead code.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2019-07-11 23:37:55 +09:00
..
2019-02-13 23:25:58 +09:00
2019-05-09 22:37:17 +09:00
2019-02-13 23:25:58 +09:00
2019-03-12 02:50:24 +09:00