kconfig: remove k_invalid from expr_parse_string() return type
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 30 Nov 2018 09:15:52 +0000 (18:15 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 10 Feb 2019 21:31:51 +0000 (22:31 +0100)
commit37e2beafb358ab3b847fe951d5b17c78f39c43f7
treefd0773c355d9fe36de8e3568e57c702bffe3d56d
parent8aac74167ad25956a35b6d5b04cc97cc1ed6ce04
kconfig: remove k_invalid from expr_parse_string() return type

The only possibility of k_invalid being returned was when
expr_parse_sting() parsed S_OTHER type symbol. This actually never
happened, and this is even clearer since S_OTHER has gone.

Clean up unreachable code.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/expr.c