kconfig: split randconfig setup code into set_randconfig_seed()
authorMasahiro Yamada <masahiroy@kernel.org>
Sat, 13 Mar 2021 19:48:24 +0000 (04:48 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Thu, 25 Mar 2021 04:34:26 +0000 (13:34 +0900)
commit89145649b0d0d51e90a85de23ca881c97d3a71a4
tree61d472f4300f3977a7ec7c4972bd752f0dbfd7a6
parent1e28eed17697bcf343c6743f0028cc3b5dd88bf0
kconfig: split randconfig setup code into set_randconfig_seed()

This code is too big to be placed in the switch statement.

Move the code into a new helper function. I slightly refactor the code
without changing the behavior.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/conf.c