[PATCH] state: backend_storage: remove unreachable error message

Philipp Zabel p.zabel at pengutronix.de
Tue Jul 18 06:15:34 PDT 2017


This looks like a leftover.

Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>
---
 common/state/backend_storage.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/state/backend_storage.c b/common/state/backend_storage.c
index 8d24f7053..1abf8c866 100644
--- a/common/state/backend_storage.c
+++ b/common/state/backend_storage.c
@@ -392,8 +392,6 @@ int state_storage_init(struct state *state, const char *path,
 	} else {
 		return state_storage_file_buckets_init(storage);
 	}
-
-	dev_err(storage->dev, "storage init done\n");
 }
 
 void state_storage_set_readonly(struct state_backend_storage *storage)
-- 
2.11.0




More information about the barebox mailing list