sandbox: Correct uninit conflict
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:11:24 +0000 (18:11 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 02:04:31 +0000 (15:04 +1300)
commitc119528a1dd0ac719040d234c0a368a0ebaeb745
tree2c561533e64b9cce32799cdc735e8b0372230601
parenta8d696275aca9a121d438db50fcc44c02d7793cb
sandbox: Correct uninit conflict

It is not possible to remove the state before driver model is uninited,
since the devices are allocated in the memory buffer. Also it is not
possible to uninit driver model afterwards, since the RAM has been
freed.

Drop the uninit altogether, since it is not actually necessary.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/cpu.c