diff options
| author | Masahiro Yamada <[email protected]> | 2024-06-02 12:54:15 +0000 |
|---|---|---|
| committer | Masahiro Yamada <[email protected]> | 2024-07-15 16:08:36 +0000 |
| commit | 826ee96dd4f72028b98366a21d986d35e1d781d5 (patch) | |
| tree | 31948986099a62d097c42418e513600b1fcf5344 /scripts/kconfig/expr.c | |
| parent | kconfig: remove tristate choice support (diff) | |
| download | kernel-826ee96dd4f72028b98366a21d986d35e1d781d5.tar.gz kernel-826ee96dd4f72028b98366a21d986d35e1d781d5.zip | |
kconfig: refactor conf_set_all_new_symbols() to reduce indentation level
The outer switch statement can be avoided by continue'ing earlier the
loop when the symbol type is neither S_BOOLEAN nor S_TRISTATE.
Remove it to reduce the indentation level by one. In addition, avoid
the repetition of sym->def[S_DEF_USER].tri.
No functional change intended.
Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Nicolas Schier <[email protected]>
Diffstat (limited to 'scripts/kconfig/expr.c')
0 files changed, 0 insertions, 0 deletions
