]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
kconfig: remove unused code for S_DEF_AUTO in conf_read_simple()
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 18 Nov 2023 07:59:08 +0000 (16:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Mar 2025 11:50:14 +0000 (12:50 +0100)
commit3e31777acf2da12de46a4e5894893992744fc159
treefb64ce06169efb3be030a0375a4077a3c8cf184a
parent131f1604fa6b1631ececf10f7cfb9cc42907f2c6
kconfig: remove unused code for S_DEF_AUTO in conf_read_simple()

[ Upstream commit 92d4fe0a48f1ab6cf20143dd0b376f4fe842854b ]

The 'else' arm here is unreachable in practical use cases.

include/config/auto.conf does not include "# CONFIG_... is not set"
line unless it is manually hacked.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Stable-dep-of: a409fc1463d6 ("kconfig: fix memory leak in sym_warn_unmet_dep()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/kconfig/confdata.c