state: replace len_hint logic
The len_hint mechanism is rather hard to understand as it's not clear
from where to where the hint is passed and also it's not clear what
happens if the hint is empty or wrong.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b7d9863 commit 9948003da46c27b45d4479124407ed7805d84a02
@Sascha Hauer Sascha Hauer authored on 23 Mar 2017
Showing 6 changed files
View
common/state/backend_bucket_circular.c
View
common/state/backend_bucket_direct.c
View
common/state/backend_format_dtb.c
View
common/state/backend_format_raw.c
View
common/state/backend_storage.c
View
common/state/state.h