diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-11 10:33:17 +0300 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-07-11 17:37:55 +0300 |
commit | e3cd5136a4ecece6a7599a07add0dfb811a7f49d (patch) | |
tree | 3893506f241a8fe9c2d3b284f70386d4046ef912 /arch/arm/mach-pxa/stargate2.c | |
parent | baa23ec860920ebf3e897c4bbb3420a88ea80ec1 (diff) | |
download | linux-e3cd5136a4ecece6a7599a07add0dfb811a7f49d.tar.xz |
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>
Diffstat (limited to 'arch/arm/mach-pxa/stargate2.c')
0 files changed, 0 insertions, 0 deletions