state: drop lazy_init
lazy_init is an optimization that makes it possible to read only up to
the first valid bucket when starting. However, when restoring consistency,
immediately afterwards we have we have to initialize all buckets anyway,
so being lazy doesn't give us any gain. Remove it to simplify the code.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 7599f6e commit ad1d6953590fdcf350dd3c9eda4fd551a1f9dac3
@Sascha Hauer Sascha Hauer authored on 22 Mar 2017
Showing 4 changed files
View
common/state/backend_bucket_cached.c
View
common/state/backend_bucket_circular.c
View
common/state/backend_storage.c
View
common/state/state.h