state: Do not load state during state_new_from_node
The caller of state_new_from_node() may have it's own ideas what to
do when loading the state fails, so do not load it in the initialization
function, but instead let the caller do it.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6763c6e commit 99335922839a3f11895d0f8c2424a9bed61d5da1
@Sascha Hauer Sascha Hauer authored on 29 Mar 2017
Showing 2 changed files
View
src/barebox-state.c
View
src/barebox-state/state.c