kconfig: remove redundant input_mode test for check_conf() loop
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 28 Feb 2018 00:15:23 +0000 (09:15 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:06:26 +0000 (22:06 +0100)
commit88c63806fe5084f148caa35d479320f283998988
tree8984284f31f134d2871fa5343ec7647fb033b0aa
parent95175f620aab51399c3a128f1a086105e728f1c0
kconfig: remove redundant input_mode test for check_conf() loop

check_conf() never increments conf_cnt for listnewconfig, so conf_cnt
is always zero.

In other words, conf_cnt is not zero, "input_mode != listnewconfig"
is met.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Ulf Magnusson <ulfalizer@gmail.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/conf.c