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)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 8 Dec 2018 01:42:42 +0000 (10:42 +0900)
commit0cbe3ac439bfe3e6d0f65b006044f84ce7f3e4d0
treeed7039b735f94200671634742cceb9de4d47d27e
parent2aabbed6774f231c57f8ae6bc4f856fb2a75cd6a
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>
scripts/kconfig/expr.c