summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-03-23 15:57:31 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-03-31 13:57:50 +0200
commit7b28e169af7d2f431765c92c34c155a368f7c8e1 (patch)
treed63874394bddf14de6624dbc651f1c28eacc10cf
parent72ecadae27d3f52f7464fee340de1961196e222a (diff)
downloaddt-utils-7b28e169af7d2f431765c92c34c155a368f7c8e1.tar.gz
state: backend_circular: remove unnecessary warning
It's expected that NAND flashes contain bad blocks, do not warn about them. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--src/barebox-state/backend_storage.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/barebox-state/backend_storage.c b/src/barebox-state/backend_storage.c
index 8607008..9e80791 100644
--- a/src/barebox-state/backend_storage.c
+++ b/src/barebox-state/backend_storage.c
@@ -243,11 +243,8 @@ static int state_storage_mtd_buckets_init(struct state_backend_storage *storage,
eraseblock,
writesize,
meminfo);
- if (ret) {
- dev_warn(storage->dev, "Failed to create bucket at '%s' eraseblock %u\n",
- storage->path, eraseblock);
+ if (ret)
continue;
- }
bucket->offset = offset;
bucket->num = nr_copies;