kconfig: do not assign a variable in the return statement
authorMasahiro Yamada <masahiroy@kernel.org>
Mon, 13 Apr 2020 15:35:42 +0000 (00:35 +0900)
committerChristian Lamparter <chunkeey@gmail.com>
Fri, 5 Feb 2021 10:55:28 +0000 (11:55 +0100)
commit2202d84127694886dc60a242c85c9d459a2acefc
treedf99e0b580a9203964284db1ea1112d9779ba6fb
parent3505601dfc2d1a9db9965039744c7c8720cf09f0
kconfig: do not assign a variable in the return statement

I am not a big fan of doing assignment in a return statement.
Split it into two lines.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
config/menu.c