summaryrefslogtreecommitdiffstats
path: root/common/state/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/state/backend.c')
-rw-r--r--common/state/backend.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/state/backend.c b/common/state/backend.c
index 5235bb0283..6b06c845f0 100644
--- a/common/state/backend.c
+++ b/common/state/backend.c
@@ -74,9 +74,6 @@ int state_load(struct state *state)
int ret;
struct state_backend *backend = &state->backend;
- if (backend->format->get_packed_len)
- len_hint = backend->format->get_packed_len(backend->format,
- state);
ret = state_storage_read(&backend->storage, backend->format,
state->magic, &buf, &len, len_hint);
if (ret) {