genrandconfig: move instantiation of SystemInfo down
authorArnout Vandecappelle <arnout@mind.be>
Fri, 21 Jul 2017 01:05:12 +0000 (03:05 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Jul 2017 20:42:59 +0000 (22:42 +0200)
commite8c6d52c89a2c1fd7d40f9e9ad4b7689255538d1
tree692324b5c0b2536c0f4f5bbcb6e62f2f725b2c9b
parent22978c7399ee7cd76dbb3d57cdc6f018a68c326c
genrandconfig: move instantiation of SystemInfo down

The SystemInfo class is instantiated globally and passed down to all
functions, but it is really only used in fixup_config. So instead,
instantiate it there.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
utils/genrandconfig