diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-10-24 03:17:59 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-11-06 08:46:34 +0900 |
commit | 8e8ce9531e09376d987ff0e09491bea82a0f6411 (patch) | |
tree | d8a49d77bb4b405090509f4de72636407dfcf5a4 /scripts/kconfig | |
parent | 572cd1d2a9a68b66af98a60f4aad4f01d6589447 (diff) |
kconfig: qconf: remove redundant check in goBack()
The same check is performed in the configList->setParentMenu() call.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/qconf.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 1948cda048d2..acbc4331ebc5 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1616,9 +1616,6 @@ void ConfigMainWindow::listFocusChanged(void) void ConfigMainWindow::goBack(void) { - if (configList->rootEntry == &rootmenu) - return; - configList->setParentMenu(); } |