kconfig: qconf: simplify the goBack() logic
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 30 Jun 2020 06:26:39 +0000 (08:26 +0200)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 1 Jul 2020 14:59:49 +0000 (23:59 +0900)
commitaf737b4defe14eb4a2e4d6016973cc90df1d77d6
tree52c3b7ede5407cd99b3922f601f81a836e34060d
parentb06c3ec3bd184e8bbd3e37d53a3d27c4ab9ccd09
kconfig: qconf: simplify the goBack() logic

The goBack() logic is used only for the configList, as
it only makes sense on singleMode. So, let's simplify the
code.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc