diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-02-28 09:15:21 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-03-26 02:03:58 +0900 |
commit | 59a80b5e892ddee09139f7d7942effdf1ca532e4 (patch) | |
tree | b456632dd8f284577b6d51be6a075234bb49c4c1 /block/cfq-iosched.c | |
parent | f467c5640c29ad258c3cd8186a776c82fc3b8057 (diff) |
kconfig: do not call check_conf() for olddefconfig
check_conf() traverses the menu tree, but it is completely no-op for
olddefconfig because the following if-else block does nothing.
if (input_mode == listnewconfig) {
...
} else if (input_mode != olddefconfig) {
...
}
As the help message says, olddefconfig automatically sets new symbols
to their default value. There is no room for manual intervention.
So, calling check_conf() for olddefconfig is odd in the first place.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions