From: Masahiro Yamada Date: Wed, 23 Oct 2024 18:17:59 +0000 (+0900) Subject: kconfig: qconf: remove redundant check in goBack() X-Git-Tag: v6.13-rc1~16^2~58 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e8ce9531e09376d987ff0e09491bea82a0f6411;p=thirdparty%2Fkernel%2Fstable.git kconfig: qconf: remove redundant check in goBack() The same check is performed in the configList->setParentMenu() call. Signed-off-by: Masahiro Yamada --- diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 1948cda048d27..acbc4331ebc5f 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(); }