Home
last modified time | relevance | path

Searched hist:e3cd5136a4ecece6a7599a07add0dfb811a7f49d (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/scripts/kconfig/
H A Dconfdata.cdiff e3cd5136a4ecece6a7599a07add0dfb811a7f49d Thu Jul 11 02:33:17 CDT 2019 Masahiro Yamada <yamada.masahiro@socionext.com> 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>