kconfig: do not assign a variable in the return statement