diff options
author | 2024-10-24 03:17:59 +0900 | |
---|---|---|
committer | 2024-11-06 08:46:34 +0900 | |
commit | 8e8ce9531e09376d987ff0e09491bea82a0f6411 (patch) | |
tree | d8a49d77bb4b405090509f4de72636407dfcf5a4 | |
parent | kconfig: qconf: avoid unnecessary parentSelected() when ESC is pressed (diff) | |
download | wireguard-linux-8e8ce9531e09376d987ff0e09491bea82a0f6411.tar.xz wireguard-linux-8e8ce9531e09376d987ff0e09491bea82a0f6411.zip |
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>
-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(); } |