Skip to content
Snippets Groups Projects
Commit 102a1a72 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

kconfig: remove dead code in conf_askvalue()


conf_askvalue() is only called for oldconfig, syncconfig, and
oldaskconfig. If it is called for other cases, it is a bug.

So, the code after the switch statement is unreachable.

Remove the dead code, and clean up the switch statement.

Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent a4cff327
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment